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
Showing only changes of commit 49c6063f5f - Show all commits

View File

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

View File

@ -4,7 +4,7 @@
<div class="header__logo_box"> <div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite"> <a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%} {% 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 %} {%- endif %}
</a> </a>
</div> </div>

View File

@ -4,7 +4,7 @@
<div class="header__logo_box"> <div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite"> <a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%} {% 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 %} {%- endif %}
</a> </a>
</div> </div>

View File

@ -4,7 +4,7 @@
<div class="header__logo_box"> <div class="header__logo_box">
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite"> <a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
{% if '/images/wtf_logo.svg'|asseturl is defined -%} {% 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 %} {%- endif %}
</a> </a>
</div> </div>