mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-09-30 17:59:10 +02:00
adjust alert icon positioning
This commit is contained in:
+5
-1
@@ -502,6 +502,7 @@ figure.shiki .line.highlighted {
|
||||
--pg-callout-accent: #525252;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
margin-block: 1.25rem;
|
||||
padding: 0.9rem 1rem;
|
||||
@@ -532,8 +533,11 @@ figure.shiki .line.highlighted {
|
||||
}
|
||||
|
||||
.pg-callout-icon {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
margin-top: 0.15rem;
|
||||
align-items: center;
|
||||
/* same height as the first line of prose, so the icon centers on that row */
|
||||
height: calc(1.75rem * var(--tw-prose-size, 1));
|
||||
color: var(--pg-callout-accent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user