From 8b60ed3969a1f839ced0134fa897e366f59fa91e Mon Sep 17 00:00:00 2001 From: Jacob Brown Date: Fri, 25 Oct 2024 09:51:30 +0100 Subject: [PATCH] Update padding rule to avoid indenting preamble --- src/scss/phy/questions.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/phy/questions.scss b/src/scss/phy/questions.scss index f61526ef0..3e4645efa 100644 --- a/src/scss/phy/questions.scss +++ b/src/scss/phy/questions.scss @@ -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; }