Commit 5ef40b25 by lzd Committed by Dominik Prokop

Menu: fix menu button in the mobile view (#19191)

* replace "sandwich" (menu) button with logo(back home) if kiosk=tv
* update navbar initialize padding-left befause menu button is overlapped by the navbar
parent 38e948a1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
position: relative; position: relative;
z-index: $zindex-navbar-fixed; z-index: $zindex-navbar-fixed;
height: $navbarHeight; height: $navbarHeight;
padding: 0 20px 0 50px; padding: 0 20px 0 60px;
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
} }
} }
.panel-in-fullscreen { .panel-in-fullscreen,
.panel-in-fullscreen.view-mode--tv {
.navbar { .navbar {
padding-left: $navbar-padding; padding-left: $navbar-padding;
} }
......
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
} }
.navbar-page-btn { .navbar-page-btn {
transform: translate3d(-36px, 0, 0);
i { i {
opacity: 0; display: none;
} }
i.navbar-page-btn__folder-icon { i.navbar-page-btn__folder-icon {
...@@ -49,9 +47,16 @@ ...@@ -49,9 +47,16 @@
box-shadow: none; box-shadow: none;
.sidemenu__top, .sidemenu__top,
.sidemenu__bottom { .sidemenu__bottom,
.sidemenu__logo_small_breakpoint {
display: none; display: none;
} }
.sidemenu__logo {
@include media-breakpoint-down(sm) {
display: block;
}
}
} }
.navbar { .navbar {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment