Skip to content

Commit 0290682

Browse files
committed
Callout: Fix margin and whitespace in side callouts
1 parent b7cc690 commit 0290682

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

assets/css/v2/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,7 @@ table hr {
16921692
blockquote {
16931693
border: 1px solid oklch(var(--color-foreground));
16941694
padding: 1rem;
1695+
height: fit-content;
16951696
margin: var(--margin-callout);
16961697

16971698
/* solid 3px drop shadow */
@@ -1707,6 +1708,16 @@ blockquote {
17071708
}
17081709
}
17091710

1711+
blockquote[data-grid="last-third"] {
1712+
margin-top: 0;
1713+
}
1714+
1715+
@media (max-width: 55rem) {
1716+
blockquote[data-grid="last-third"] {
1717+
margin: var(--margin-callout);
1718+
}
1719+
}
1720+
17101721
blockquote.note {
17111722
position: relative;
17121723
z-index: 0;

0 commit comments

Comments
 (0)