Skip to content

Commit 799b78a

Browse files
committed
fix horizontal scrollbar
1 parent b500d8f commit 799b78a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/_static/custom.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22
margin: 0px !important; /* Prevents unnecessary scroll bars in the navigation */
33
}
44

5+
body {
6+
width: 100vw;
7+
margin-right: calc(100vw - 100%);
8+
overflow-x: hidden;
9+
}
10+
511
.logo {
612
max-width: 50vw;
713
min-width: 130px;
814
}
915

1016
.bd-page-width {
11-
width: 100lvw;
12-
overflow-x: hidden;
1317
margin: 0;
1418
}
1519

1620
.bd-header {
17-
width: 100lvw;
18-
min-width: 100lvw;
1921
margin: 0;
2022
}
2123

0 commit comments

Comments
 (0)