🐛 Fix main menu does not keep alignment when left sidebar is expanded (#10986)

This commit is contained in:
Luis de Dios 2026-08-03 10:18:06 +02:00 committed by GitHub
parent 767f90282c
commit 141cf7f79f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,14 +25,13 @@
.menu {
top: $sz-48;
left: calc(var(--right-sidebar-width) - $sz-40);
left: calc(var(--left-sidebar-width) - px2rem(44));
inline-size: $sz-192;
}
.sub-menu {
left: calc(var(--right-sidebar-width) + $sz-154);
min-width: $sz-284;
width: 115%;
left: calc(var(--left-sidebar-width) + px2rem(150));
min-width: $sz-364;
&.pos-1 {
top: calc($sz-16 + $sz-32);