Skip to content

Commit 4aac727

Browse files
Copilotgrst
andauthored
Add margin-bottom to standalone blog post images (#199)
* Initial plan * Add margin-bottom to blog post images for spacing below hero images Co-authored-by: grst <7051479+grst@users.noreply.github.com> Agent-Logs-Url: https://github.com/scverse/scverse.github.io/sessions/480a99aa-b181-45ee-8179-85dc01e7a35a * 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 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: grst <7051479+grst@users.noreply.github.com>
1 parent 114648f commit 4aac727

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

assets/main.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,10 @@ body {
940940
margin: 3rem 0;
941941
font-size: 1.1rem;
942942
text-wrap: pretty;
943+
> img,
944+
> p > img {
945+
margin-bottom: 1.5rem;
946+
}
943947
span.backticked {
944948
font-size: 1.2rem;
945949
line-height: 1.1rem;

0 commit comments

Comments
 (0)