Skip to content

Commit

Permalink
fix margin collapse of adjacent sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann150 committed Jun 8, 2024
1 parent b188cc8 commit ea5a0c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ section:first-child {
padding-top: 0;
}

section + section {
margin-top: 0;
}

section:last-child {
border-bottom: 0;
padding-bottom: 0;
Expand Down

0 comments on commit ea5a0c5

Please sign in to comment.