Skip to content
Snippets Groups Projects
Verified Commit e0c95512 authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

feature: header: vertical centering

parent 313dd7fe
No related branches found
No related tags found
1 merge request!255major: release integration of the hubl styling framework
.segment.lg-three-quarter.float-left .segment.lg-three-quarter.float-left.align-middle
.logo .logo
solid-link(next='dashboard') 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') span.tag.beta.reversed.color-primary(data-trans='header.beta')
.segment.lg-auto.float-right .segment.lg-auto.float-right
.segment.lg-auto.float-left.margin-right .segment.lg-auto.float-left.margin-right.align-middle
solid-notifications.notLoggedIn( solid-notifications.notLoggedIn(
nested-field="inbox" nested-field="inbox"
bind-user bind-user
......
...@@ -26,10 +26,8 @@ ...@@ -26,10 +26,8 @@
/*background: white;*/ /*background: white;*/
position: relative; position: relative;
.content-vertically-centered { .align-middle {
position: absolute; transform: translateY(50%);
top: 50%;
transform: translateY(-50%);
} }
&.lg-{ &.lg-{
&hidden { &hidden {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment