Skip to content

Commit

Permalink
Update padding rule to avoid indenting preamble
Browse files Browse the repository at this point in the history
  • Loading branch information
jacbn committed Oct 25, 2024
1 parent 6a5e23a commit 8b60ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scss/phy/questions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
font-weight: 400;
}

.content-chunk > .figure-panel {
// if a figure is in the top level of a content block, indent it. otherwise (i.e. when inside a layout component), leave it for that component to handle
.content-chunk .content-chunk > .figure-panel {
// if a figure is in the top level of a content block that is not preamble, indent it. otherwise (i.e. when inside a layout component), leave it for that component to handle
padding: 0 3rem;
}

Expand Down

0 comments on commit 8b60ed3

Please sign in to comment.