Skip to content

Commit

Permalink
fix vertical alignment with signout button
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed May 10, 2021
1 parent e745830 commit 9e3d5fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/header/_header.scss
Expand Up @@ -60,7 +60,8 @@
margin-top: 0.7rem;
}

&--with-description {
&--with-description,
&--with-button {
@include mq(m) {
margin-top: 0.45rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/_macro.njk
Expand Up @@ -86,7 +86,7 @@
})
}}
{% else %}
<{{ title_tag }} class="header__title{% if params.desc is defined and params.desc %} header__title--with-description{% endif %}">{{ params.title }}</{{ title_tag }}>
<{{ title_tag }} class="header__title{% if params.desc is defined and params.desc %} header__title--with-description{% endif %}{% if params.button is defined and params.button %} header__title--with-button{% endif %}">{{ params.title }}</{{ title_tag }}>
{% endif %}
{% if params.titleLogoHref is defined and params.titleLogoHref %}</a>{% endif %}
</div>
Expand Down

0 comments on commit 9e3d5fd

Please sign in to comment.