Skip to content

Commit 32b9639

Browse files
Merge pull request #388 from nginxinc/fix-side-callout-margin-sorry-dani
Callout: Fix side callout margin
2 parents ae0da2c + 2051051 commit 32b9639

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
@@ -2024,6 +2024,11 @@ blockquote {
20242024
.callout-content {
20252025
margin: 0;
20262026
}
2027+
2028+
/* To help them align with text, side callouts should not have top margin*/
2029+
&[data-grid="last-third"] {
2030+
--margin-callout: 0 0 0 1rem;
2031+
}
20272032
}
20282033

20292034
blockquote.note {
@@ -2397,6 +2402,10 @@ ul .code-block {
23972402

23982403
.banner {
23992404
margin-block-start: 1rem;
2405+
2406+
blockquote {
2407+
margin-left: 0rem;
2408+
}
24002409
}
24012410

24022411
/* MARK: Images

0 commit comments

Comments
 (0)