diff --git a/src/scss/phy/questions.scss b/src/scss/phy/questions.scss index fc1434ccba..9a325162e3 100644 --- a/src/scss/phy/questions.scss +++ b/src/scss/phy/questions.scss @@ -16,6 +16,11 @@ // if a figure is in the top level of a content block that is not the top level of a page (i.e. preamble), indent it. otherwise (i.e. when inside a layout component), leave it for that component to handle // TODO: move the padding from this to the layout component (usually accordions!) padding: 0 3rem; + + // Ensure that the top box shadow is not cut off for figures at the top of accordions + &:first-child { + padding-top: 1.5rem; + } } }