Skip to content

Commit

Permalink
Merge pull request #6009 from nextcloud-libraries/backport/6008/next
Browse files Browse the repository at this point in the history
[next] fix(NcAppNavigation): keep border only on mobile
  • Loading branch information
susnux committed Aug 29, 2024
2 parents 749fcaf + 97b21a1 commit b8b26d2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/NcAppNavigation/NcAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ export default {
background-color: var(--color-main-background-blur, var(--color-main-background));
-webkit-backdrop-filter: var(--filter-background-blur, none);
backdrop-filter: var(--filter-background-blur, none);
border-inline-end: 1px solid var(--color-border);
&--close {
margin-left: calc(-1 * min($navigation-width, var(--app-navigation-max-width)));
Expand Down Expand Up @@ -378,10 +377,18 @@ export default {
}
}
// Add extra border for high contrast mode
[data-themes*="highcontrast"] {
.app-navigation {
border-inline-end: 1px solid var(--color-border);
}
}
// When on mobile, we make the navigation slide over the NcAppContent
@media only screen and (max-width: $breakpoint-mobile) {
.app-navigation {
position: absolute;
border-inline-end: 1px solid var(--color-border);
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b8b26d2

Please sign in to comment.