Skip to content

Commit 183f240

Browse files
FliegendeWurstmatze
authored andcommitted
Fix vertical autoscroll
1 parent 7127f9f commit 183f240

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/themes/style.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
header {
1515
border-bottom: 1px solid #163855;
16+
border-right: 1px solid #163855;
1617
}
1718
}
1819

@@ -27,6 +28,7 @@
2728

2829
header {
2930
border-bottom: 1px solid #d9d7d7;
31+
border-right: 1px solid #d9d7d7;
3032
}
3133
}
3234

@@ -51,6 +53,7 @@ body {
5153
display: flex;
5254
flex-direction: column;
5355
height: 100%;
56+
overflow: auto;
5457
}
5558

5659
header {
@@ -65,6 +68,9 @@ main {
6568
flex-grow: 1;
6669
padding: 1em 2em 1em 2em;
6770
user-select: none;
71+
72+
overflow: visible;
73+
min-height: 0;
6874
}
6975

7076
#nav-title {
@@ -222,7 +228,8 @@ a, a:visited, a:hover {
222228
}
223229

224230
#code {
225-
overflow-x: auto;
231+
overflow: visible;
232+
min-width: fit-content;
226233
}
227234

228235
td.line-number {

0 commit comments

Comments
 (0)