Skip to content

Commit 9718ef8

Browse files
committed
handle content issues
1 parent 167586b commit 9718ef8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

scaladoc/resources/dotty_res/styles/theme/components/table-of-content.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
margin-bottom: calc(2.5 * var(--base-spacing));
1919
}
2020

21+
#toc li > ul {
22+
margin-top: calc(2.5 * var(--base-spacing));
23+
margin-left: calc(1.5 * var(--base-spacing));
24+
}
25+
2126
@media (min-width: 1920px) {
2227
#toc {
2328
margin-left: calc(8.5 * var(--base-spacing));
@@ -35,6 +40,9 @@
3540
margin-left: calc(8.5 * var(--base-spacing));
3641
margin-right: calc(8.5 * var(--base-spacing));
3742
}
43+
#toc-container {
44+
margin-right: calc(8.5 * var(--base-spacing));
45+
}
3846
}
3947

4048
@media (max-width: 1376px) {

scaladoc/resources/dotty_res/styles/theme/layout/content.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
color: var(--text-primary);
1111
}
1212

13+
#content > div:first-child {
14+
overflow: hidden;
15+
}
16+
1317
@media (min-width: 1920px) {
1418
#content {
1519
width: calc(90 * var(--base-spacing));

0 commit comments

Comments
 (0)