Use @header-height - @margin-side

This commit is contained in:
Hannes 2019-12-28 18:07:50 +01:00
parent 691e9900ad
commit 5d0f211290
No known key found for this signature in database
GPG key ID: 371029119C5F0D51

View file

@ -292,7 +292,7 @@
// Nav up stuff // Nav up stuff
.nav-up { .nav-up {
~ #mw-sidebar-sitename { ~ #mw-sidebar-sitename {
transform: translateY( -54px ) translateX( -100% ) rotate( -90deg ); transform: translateY( @header-height - @margin-side ) translateX( -100% ) rotate( -90deg );
} }
#mw-header-menu-drawer-container { #mw-header-menu-drawer-container {
@ -355,7 +355,7 @@
} }
.nav-up ~ #mw-sidebar-sitename { .nav-up ~ #mw-sidebar-sitename {
transform: translateY( -54px ) rotate( 90deg ); transform: translateY( @header-height - @margin-side ) rotate( 90deg );
} }
#mw-header-menu-drawer { #mw-header-menu-drawer {