diff --git a/src/components/NcAppNavigation/NcAppNavigation.vue b/src/components/NcAppNavigation/NcAppNavigation.vue index e80a30aed1..be1efc3fac 100644 --- a/src/components/NcAppNavigation/NcAppNavigation.vue +++ b/src/components/NcAppNavigation/NcAppNavigation.vue @@ -200,7 +200,7 @@ export default { } // Put the toggle behind appsidebar on small screens -@media only screen and (max-width: math.div($breakpoint-mobile, 2)) { +@media only screen and (max-width: 768px) { .app-navigation { z-index: 1400; } diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index f4c4117f73..422f64ab1e 100644 --- a/src/components/NcAppSidebar/NcAppSidebar.vue +++ b/src/components/NcAppSidebar/NcAppSidebar.vue @@ -1061,7 +1061,7 @@ $top-buttons-spacing: 6px; } // Make the sidebar full-width on small screens -@media only screen and (max-width: math.div($breakpoint-mobile, 2)) { +@media only screen and (max-width: 768px) { .app-sidebar { width: 100vw; }