Skip to content

Commit 73a3410

Browse files
committed
fix(ui): preserves navbar padding and compensates footer
1 parent 9847225 commit 73a3410

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@
111111
/* solid-prevent-scroll sets --scrollbar-width on body when scroll is locked;
112112
fixed elements don't inherit body padding-right, so compensate explicitly */
113113
.navbar {
114+
padding-right: calc(0.5rem + var(--scrollbar-width, 0px));
115+
}
116+
footer {
114117
padding-right: var(--scrollbar-width, 0px);
115118
}
116119

0 commit comments

Comments
 (0)