feature: header: vertical centering

This commit is contained in:
gaelle morin 2020-11-23 12:03:34 +01:00
parent 313dd7fed8
commit e0c955129b
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 5 additions and 7 deletions

View File

@ -1,12 +1,12 @@
.segment.lg-three-quarter.float-left
.segment.lg-three-quarter.float-left.align-middle
.logo
solid-link(next='dashboard')
img(src=`${clientLogo || '/images/logo.png'}` style=`max-height:${clientLogoHeight || '32px'}`)
img(src=`${clientLogo || '/images/logo.png'}` style=`max-height:${clientLogoHeight || '52px'}`)
span.tag.beta.reversed.color-primary(data-trans='header.beta')
.segment.lg-auto.float-right
.segment.lg-auto.float-left.margin-right
.segment.lg-auto.float-left.margin-right.align-middle
solid-notifications.notLoggedIn(
nested-field="inbox"
bind-user

View File

@ -26,10 +26,8 @@
/*background: white;*/
position: relative;
.content-vertically-centered {
position: absolute;
top: 50%;
transform: translateY(-50%);
.align-middle {
transform: translateY(50%);
}
&.lg-{
&hidden {