Skip to content

Commit 268f0e0

Browse files
authored
Merge pull request #8543 from nextcloud-libraries/backport/8520/stable8
[stable8] fix: use correct boundaries of CSS breakpoints
2 parents d3817f4 + 582052d commit 268f0e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/NcAppNavigation/NcAppNavigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export default {
463463
}
464464
465465
// When on mobile, we make the navigation slide over the NcAppContent
466-
@media only screen and (max-width: $breakpoint-mobile) {
466+
@media only screen and (width < $breakpoint-mobile) {
467467
.app-navigation {
468468
position: absolute;
469469
border-inline-end: 1px solid var(--color-border);

src/components/NcAppSettingsDialog/NcAppSettingsDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ $content-inset: calc(3 * var(--default-grid-baseline));
391391
box-sizing: border-box;
392392
}
393393
394-
@media only screen and (max-width: $breakpoint-mobile) {
394+
@media only screen and (width < $breakpoint-mobile) {
395395
.app-settings:not(.app-settings--legacy) {
396396
:deep(.modal-wrapper .modal-container) {
397397
padding-inline-start: 12px !important;

0 commit comments

Comments
 (0)