Skip to content

Commit 4cde575

Browse files
committed
sort CSS properties in admonition icon selector
1 parent 8316df6 commit 4cde575

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/css/doc.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,13 +430,13 @@
430430
}
431431

432432
.doc .admonitionblock td.icon {
433-
position: absolute;
434-
top: 0;
435-
left: 0;
436433
font-size: calc(15 / var(--rem-base) * 1rem);
434+
left: 0;
437435
line-height: 1;
438-
transform: translate(-0.5rem, -50%);
439436
padding: 0;
437+
position: absolute;
438+
top: 0;
439+
transform: translate(-0.5rem, -50%);
440440
}
441441

442442
.doc .admonitionblock td.icon i {

0 commit comments

Comments
 (0)