Skip to content

Commit f2a8b4a

Browse files
authored
fix horizontal scroll on docs (#1899)
1 parent 3bb35b3 commit f2a8b4a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pages/overrides.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,11 @@ article {
10741074
// }
10751075

10761076
.nextra-scrollbar {
1077+
// modify margins on right sidebar to prevent overflowing
1078+
margin-right: auto;
1079+
10771080
// set background color for bookmark region
10781081
// background-color: colors.$black;
1079-
10801082
// set font color for bookmark header
10811083
p {
10821084
// color: colors.$base100;
@@ -1864,9 +1866,11 @@ article {
18641866
// }
18651867

18661868
.nextra-scrollbar {
1869+
// modify margins on right sidebar to prevent overflowing
1870+
margin-right: auto;
1871+
18671872
// set background color for bookmark region
18681873
// background-color: colors.$black;
1869-
18701874
// set font color for bookmark header
18711875
p {
18721876
color: colors.$base100;

0 commit comments

Comments
 (0)