Skip to content

Commit

Permalink
add .bottom-align
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongao97 committed Feb 22, 2024
1 parent 345b8e0 commit 59cc3e9
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions magicbook/stylesheets/components/codesplit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,19 @@

&.highlight {
background: $color-gray-200;
}

// add a margin between adjacent highlight pairs
&.highlight + .pair.highlight {
border-top: 1pt solid $color-gray-100;
}
// add a margin between adjacent highlight pairs
+ .pair.highlight {
border-top: 1pt solid $color-gray-100;
}

&.highlight + .pair.continue {
border-top: initial;
+ .pair.continue {
border-top: initial;
}

&.bottom-align {
align-items: flex-start;
}
}

.comment {
Expand Down

0 comments on commit 59cc3e9

Please sign in to comment.