From a4433bf2b4028416c70d2467f8b4aac6e004a44c Mon Sep 17 00:00:00 2001 From: kevinamstutz Date: Mon, 14 Jun 2021 15:05:57 -0500 Subject: [PATCH] Explicitly declare height and width of admonition icons --- src/css/admonitions.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/css/admonitions.css b/src/css/admonitions.css index 0bd3882..3b746d0 100644 --- a/src/css/admonitions.css +++ b/src/css/admonitions.css @@ -25,6 +25,7 @@ .doc .admonitionblock.note td.icon i { background-image: url(/_/img/octicons-16.svg#view-clippy); + background-size: 15px 15px; } .admonitionblock.note .content { @@ -41,6 +42,7 @@ .doc .admonitionblock.tip td.icon i { background-image: url(/_/img/octicons-16.svg#view-light-bulb); + background-size: 15px 15px; } .doc .admonitionblock.important .icon { @@ -53,6 +55,7 @@ .doc .admonitionblock.important td.icon i { background-image: url(/_/img/octicons-16.svg#view-info); + background-size: 15px 15px; } .doc .admonitionblock.caution .icon { @@ -65,6 +68,7 @@ .doc .admonitionblock.caution td.icon i { background-image: url(/_/img/octicons-16.svg#view-alert); + background-size: 15px 15px; } .doc .admonitionblock.warning .icon { @@ -78,4 +82,5 @@ .doc .admonitionblock.warning td.icon i { background-image: url(/_/img/octicons-16.svg#view-stop); + background-size: 15px 15px; }