Skip to content

Commit 80856fd

Browse files
authored
Merge pull request #149 from pimlicolabs/fix/banner
fix(layout): keep gutters in viewport
2 parents bad73a2 + e7b4613 commit 80856fd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/styles.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
@import "tailwindcss";
2+
3+
/*
4+
* Vocs still sizes the desktop right gutter as 100vh while also offsetting it by
5+
* the fixed banner height, which pushes the bottom of the outline off-screen.
6+
* Limit this override to desktop because the gutter layout changes below 1081px.
7+
*/
8+
@media screen and (min-width: 1081px) {
9+
.vocs_DocsLayout_gutterRight {
10+
bottom: 0;
11+
height: auto !important;
12+
}
13+
}

0 commit comments

Comments
 (0)