Skip to content

Commit

Permalink
fix: make AppNavigation functional with rtl languages
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 authored and backportbot[bot] committed Oct 20, 2024
1 parent 362ef4c commit da4a798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/NcAppNavigation/NcAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export default {
backdrop-filter: var(--filter-background-blur, none);
&--close {
margin-left: calc(-1 * min($navigation-width, var(--app-navigation-max-width)));
margin-inline-start: calc(-1 * min($navigation-width, var(--app-navigation-max-width)));
}
// For legacy purposes support passing a bare list to the content in #default slot and including #footer slot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export default {
.app-navigation-toggle-wrapper {
position: absolute;
top: var(--app-navigation-padding);
right: calc(0px - var(--app-navigation-padding));
margin-right: calc(-1 * var(--default-clickable-area));
inset-inline-end: calc(0px - var(--app-navigation-padding));
margin-inline-end: calc(-1 * var(--default-clickable-area));
}
button.app-navigation-toggle {
Expand Down

0 comments on commit da4a798

Please sign in to comment.