Skip to content

Commit fbe6aa6

Browse files
claude: scss fix for jumping light/dark margin item
1 parent b439b86 commit fbe6aa6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/resources/formats/html/bootstrap/_bootstrap-rules.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,12 @@ aside,
730730
display: block;
731731
}
732732

733+
// Fix for light/dark renderings in column-margin: when light-content is hidden
734+
// in dark mode, remove padding-top from dark-content so it aligns correctly
735+
body.quarto-dark .column-margin.column-container > .light-content + .dark-content {
736+
padding-top: 0;
737+
}
738+
733739
.column-margin.column-container > *.collapse:not(.show) {
734740
display: none;
735741
}

0 commit comments

Comments
 (0)