Skip to content

Commit 22d51af

Browse files
committed
Fine-tune CSS to match designs
1 parent 8983fbb commit 22d51af

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tbx/project_styleguide/templates/patterns/organisms/footer/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{% if logo.image.width > logo.image.height %}
5757
{% image logo.image max-200x100 format-webp loading="lazy" class="footer__logo" alt=logo.alt_text|default:logo.image.title %}
5858
{% else %}
59-
{% image logo.image max-100x100 format-webp loading="lazy" class="footer__logo" alt=logo.alt_text|default:logo.image.title %}
59+
{% image logo.image max-100x100 format-webp loading="lazy" class="footer__logo footer__logo--narrow" alt=logo.alt_text|default:logo.image.title %}
6060
{% endif %}
6161
</a>
6262
{% endwith %}

tbx/static_src/sass/components/_footer.scss

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
@include high-contrast-light-mode() {
9090
filter: none;
9191
}
92+
93+
&--narrow {
94+
max-width: 70px;
95+
}
9296
}
9397

9498
&__company {

0 commit comments

Comments
 (0)