Skip to content

Commit 233bb64

Browse files
committed
fix button layout on wide screens
1 parent 330644e commit 233bb64

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

assets/scss/_styles_project.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010
}
1111
}
1212

13+
// Docsy v0.14.3 adds 5vw padding to every .row inside a .td-box (the lead/section
14+
// wrapper). The homepage has a nested .container > .row grid inside that box;
15+
// those rows must not inherit the viewport-relative padding or the cards shrink
16+
// too narrow for side-by-side buttons at large viewports (e.g. 4K full-screen).
17+
.td-box .container .row {
18+
padding-left: 0;
19+
padding-right: 0;
20+
}
21+
1322
// Docsy v0.12.0 placed its h5 rule after Bootstrap's 1.25rem rule, keeping
1423
// section-index links at body-text size. v0.14.3 reversed the cascade order,
1524
// so Bootstrap's 1.25rem now wins. Restore the original sizing.

0 commit comments

Comments
 (0)