Skip to content

Commit b4e32ba

Browse files
committed
Compute icon size based on context
This insure when .smaller is applied, it stays visually nice
1 parent df83cfd commit b4e32ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/resources/formats/revealjs/quarto.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -953,9 +953,9 @@ kbd {
953953
}
954954

955955
.callout-icon::before {
956-
height: 2rem;
957-
width: 2rem;
958-
background-size: 2rem 2rem;
956+
height: 1.25em;
957+
width: 1.25em;
958+
background-size: 1.25em 1.25em;
959959
}
960960
}
961961

@@ -1070,8 +1070,8 @@ kbd {
10701070
}
10711071
}
10721072
.callout-icon::before {
1073-
margin-top: 0.5rem;
1074-
padding-right: 0.5rem;
1073+
margin-top: 0.25em;
1074+
padding-right: 0.25em;
10751075
}
10761076
}
10771077

0 commit comments

Comments
 (0)