Skip to content

Commit 4832c58

Browse files
committed
fix aside nav being cut off when in iframe
1 parent ae2dd60 commit 4832c58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/css/custom.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@
4040
display: none;
4141
}
4242

43+
.inIframe main {
44+
min-height: 100vh;
45+
}
46+
4347
@media (min-width: 997px) {
4448
.inIframe .navbar {
4549
display: none;
4650
}
4751

48-
.inIframe .sidebar_njMd {
52+
.inIframe .theme-doc-sidebar-container > div {
4953
padding-top: 0;
5054
}
5155
}

0 commit comments

Comments
 (0)