Merge pull request 'fix: Move inline style to css file and set max-height.' (#282) from accessibility_fix_mobile_menu into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/www Build is passing

Reviewed-on: #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;
}
.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>