Skip to content

Commit c05449a

Browse files
Copilotgrst
andcommitted
Scope margin-bottom to direct child images only, preserving figure caption spacing
Co-authored-by: grst <7051479+grst@users.noreply.github.com> Agent-Logs-Url: https://github.com/scverse/scverse.github.io/sessions/3f114782-3b08-48a7-8bb1-5f5984a250f6
1 parent 4969853 commit c05449a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

assets/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,8 @@ body {
940940
margin: 3rem 0;
941941
font-size: 1.1rem;
942942
text-wrap: pretty;
943-
img {
943+
> img,
944+
> p > img {
944945
margin-bottom: 1.5rem;
945946
}
946947
span.backticked {

0 commit comments

Comments
 (0)