Skip to content

Commit b100628

Browse files
committed
Remove margins between section and the first subsection
1 parent 0935e81 commit b100628

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_sass/common/_release_style.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,14 @@ $donate-robot-size: 500px;
13151315
--color-bottom: #{$subsection-base-color};
13161316
}
13171317

1318+
// Remove margins from the .subsection under a .section
1319+
&:has(+ .subsection) {
1320+
margin-bottom: 0;
1321+
}
1322+
& + .subsection {
1323+
margin-top: 0;
1324+
}
1325+
13181326
.section-title {
13191327
container-type: inline-size;
13201328
container-name: section-title;

0 commit comments

Comments
 (0)