Skip to content

Commit c523e23

Browse files
authored
Navbar centering fix (#88)
* Revert "Possible fix" This reverts commit 945bb76. * Fix navbar centering for both directions
1 parent d8e306e commit c523e23

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/Navbar.vue

+8
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,14 @@ updateDirection(currentLocale.value);
243243
}
244244
}
245245
246+
html[dir="ltr"] .side {
247+
left: calc(var(--gap-xl) * -4);
248+
}
249+
250+
html[dir="rtl"] .side {
251+
right: calc(var(--gap-xl) * -4);
252+
}
253+
246254
.side {
247255
position: relative;
248256
display: flex;

0 commit comments

Comments
 (0)