fix: Move inline style to css file and set max-height. #282

Merged
muli merged 1 commits from accessibility_fix_mobile_menu into main 2024-12-08 18:04:00 +01:00
4 changed files with 8 additions and 3 deletions

View File

@ -196,6 +196,11 @@ header {
grid-row: 1 / span 1;
}
.header__logo {
height: 7rem;
max-height: 112px;
}
.header__homelink {
display: inline-block;
position: relative;

View File

@ -4,7 +4,7 @@
<div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%}
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}" style="height: 7rem;">
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}">
{%- endif %}
</a>
</div>

View File

@ -4,7 +4,7 @@
<div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%}
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}" style="height: 7rem;">
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}">
{%- endif %}
</a>
</div>

View File

@ -4,7 +4,7 @@
<div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%}
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}" style="height: 7rem;">
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}">
{%- endif %}
</a>
</div>