Skip to content

Commit 2051051

Browse files
committed
Callout: Fix side callout margin
1 parent f190a07 commit 2051051

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

assets/css/v2/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,11 @@ blockquote {
20222022
.callout-content {
20232023
margin: 0;
20242024
}
2025+
2026+
/* To help them align with text, side callouts should not have top margin*/
2027+
&[data-grid="last-third"] {
2028+
--margin-callout: 0 0 0 1rem;
2029+
}
20252030
}
20262031

20272032
blockquote.note {
@@ -2395,6 +2400,10 @@ ul .code-block {
23952400

23962401
.banner {
23972402
margin-block-start: 1rem;
2403+
2404+
blockquote {
2405+
margin-left: 0rem;
2406+
}
23982407
}
23992408

24002409
/* MARK: Images

0 commit comments

Comments
 (0)