mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-10 12:05:17 -04:00
Improved admonition icon positions reacting to font size
This commit is contained in:
@@ -144,6 +144,7 @@ $admonitions: (
|
||||
// Admonition icon
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: px2em(10px);
|
||||
left: px2rem(12px);
|
||||
width: px2rem(20px);
|
||||
height: px2rem(20px);
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
// Details marker
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: px2rem(8px);
|
||||
top: px2em(10px);
|
||||
right: px2rem(8px);
|
||||
width: px2rem(20px);
|
||||
height: px2rem(20px);
|
||||
|
||||
Reference in New Issue
Block a user