From 533f4dcbe72e825409c5252b1fb7ee46c7b56066 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Wed, 30 Oct 2024 06:49:13 -0400 Subject: [PATCH] Fixes ms-2 utility class collision (#123) and wrong token unicode on the cheatsheet (#122) --- docs/cheatsheet.html | 2 +- sass/_icons.scss | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/cheatsheet.html b/docs/cheatsheet.html index 6b57d31..c1b1223 100644 --- a/docs/cheatsheet.html +++ b/docs/cheatsheet.html @@ -139,7 +139,7 @@ ms-rarity  ms-scheme  ms-sorcery  - ms-token  + ms-token  ms-tribal  ms-vanguard 
diff --git a/sass/_icons.scss b/sass/_icons.scss index 0ea8095..e78f9f4 100644 --- a/sass/_icons.scss +++ b/sass/_icons.scss @@ -14,7 +14,10 @@ &-g::before { content: "\e604"; } &-0::before { content: "\e605"; } &-1::before { content: "\e606"; } - &-2::before { content: "\e607"; } + &-2 { // need to correct for bootstrap's .ms-2 utility class + margin-left: inherit !important; + &::before { content: "\e607"; + } &-3::before { content: "\e608"; } &-4::before { content: "\e609"; } &-5::before { content: "\e60a"; }