Skip to content

Commit

Permalink
Merge pull request #3972 from nextcloud/enh/noid/adjust-full-screen-s…
Browse files Browse the repository at this point in the history
…idebar

adjust sidebar to go full-screen earlier at 768px
  • Loading branch information
marcoambrosini authored Apr 13, 2023
2 parents f46bba5 + 0f1351b commit f7dfdda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/NcAppNavigation/NcAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NcAppSidebar/NcAppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f7dfdda

Please sign in to comment.