feature: header: vertical centering
This commit is contained in:
parent
313dd7fed8
commit
e0c955129b
@ -1,12 +1,12 @@
|
|||||||
.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 @@
|
|||||||
/*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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user