Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update about page manifesto section to use reduced padding icons (fix #15679) #15761

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2 class="m24-c-feature-title">{{ ftl('m24-about-together-we-can') }}</h2>
{% call picto(
base_el='li',
image=resp_img(
url='img/icons/m24-large/bell.svg',
url='img/icons/m24-reduced-padding/bell.svg',
optional_attributes={
'class': 'mzp-c-picto-image',
'loading': 'lazy'
Expand All @@ -59,7 +59,7 @@ <h2 class="m24-c-feature-title">{{ ftl('m24-about-together-we-can') }}</h2>
{% call picto(
base_el='li',
image=resp_img(
url='img/icons/m24-large/glasses.svg',
url='img/icons/m24-reduced-padding/glasses.svg',
optional_attributes={
'class': 'mzp-c-picto-image',
'loading': 'lazy',
Expand All @@ -75,7 +75,7 @@ <h2 class="m24-c-feature-title">{{ ftl('m24-about-together-we-can') }}</h2>
{% call picto(
base_el='li',
image=resp_img(
url='img/icons/m24-large/pencil.svg',
url='img/icons/m24-reduced-padding/pencil.svg',
optional_attributes={
'class': 'mzp-c-picto-image',
'loading': 'lazy'
Expand All @@ -91,7 +91,7 @@ <h2 class="m24-c-feature-title">{{ ftl('m24-about-together-we-can') }}</h2>
{% call picto(
base_el='li',
image=resp_img(
url='img/icons/m24-large/dollar.svg',
url='img/icons/m24-reduced-padding/dollar.svg',
optional_attributes={
'class': 'mzp-c-picto-image',
'loading': 'lazy'
Expand Down
11 changes: 3 additions & 8 deletions media/css/m24/feature.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@
text-wrap-style: balance;

.mzp-c-picto-image {
height: 48px;
width: 48px;
height: 30px;
width: auto;
margin: $spacer-sm 0 $spacer-md;
}

p {
Expand All @@ -73,12 +74,6 @@
font-size: 24px;
}

@media #{$mq-md} {
.mzp-c-picto-image {
margin-bottom: $spacer-sm;
}
}

@media #{$mq-lg} {
.mzp-c-picto {
max-width: grid(6);
Expand Down
3 changes: 0 additions & 3 deletions media/img/icons/m24-large/bell.svg

This file was deleted.

3 changes: 0 additions & 3 deletions media/img/icons/m24-large/dollar.svg

This file was deleted.

3 changes: 0 additions & 3 deletions media/img/icons/m24-large/glasses.svg

This file was deleted.

3 changes: 0 additions & 3 deletions media/img/icons/m24-large/pencil.svg

This file was deleted.

1 change: 1 addition & 0 deletions media/img/icons/m24-reduced-padding/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions media/img/icons/m24-reduced-padding/dollar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions media/img/icons/m24-reduced-padding/glasses.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions media/img/icons/m24-reduced-padding/pencil.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading