Skip to content

Commit 9dd2d16

Browse files
committed
Use em for other type of callouts too
1 parent b4e32ba commit 9dd2d16

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/resources/formats/revealjs/quarto.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -978,12 +978,9 @@ kbd {
978978
}
979979

980980
.callout-icon::before {
981-
height: 1em;
982-
width: 1em;
983981
display: inline-block;
984982
content: "";
985983
background-repeat: no-repeat;
986-
background-size: contain;
987984
}
988985

989986
div {
@@ -1036,8 +1033,8 @@ kbd {
10361033
display: flex;
10371034
}
10381035
.callout-icon::before {
1039-
margin-top: 1rem;
1040-
padding-right: 0.5rem;
1036+
margin-top: 1em;
1037+
padding-right: 0.5em;
10411038
}
10421039
.callout-body {
10431040
> .callout-content {

0 commit comments

Comments
 (0)