Merge pull request 'fix: Move inline style to css file and set max-height.' (#282) from accessibility_fix_mobile_menu into main

Reviewed-on: ag_kommunikation/webseite#282
This commit is contained in:
muli 2024-12-08 18:03:59 +01:00
commit ffa3c166fd
4 changed files with 8 additions and 3 deletions

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>