From 2aef01f85e14d13e144deca38de423b7ee137ce7 Mon Sep 17 00:00:00 2001 From: Thomas Kunwar Date: Wed, 25 May 2022 14:14:07 +0545 Subject: [PATCH 1/3] fix anchor style conflict with tailwind --- src/styles/global.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index b5c61c95..621e0a8a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,3 +1,10 @@ @tailwind base; @tailwind components; @tailwind utilities; + +@layer base{ + svg { + display: unset; + vertical-align: unset; + } +} From 424fb04bbbb382f381441c671af6da681663b045 Mon Sep 17 00:00:00 2001 From: Thomas Kunwar Date: Wed, 25 May 2022 14:38:08 +0545 Subject: [PATCH 2/3] style fix --- src/styles/global.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 621e0a8a..2f61c7d2 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -2,8 +2,8 @@ @tailwind components; @tailwind utilities; -@layer base{ - svg { +@layer base { + svg { display: unset; vertical-align: unset; } From 09f0bc53f28957920f6c7f4b6b1f24474ce65e7e Mon Sep 17 00:00:00 2001 From: Thomas Kunwar Date: Thu, 26 May 2022 17:40:12 +0545 Subject: [PATCH 3/3] anchor scoped css --- src/styles/global.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 2f61c7d2..c20497a6 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -2,9 +2,7 @@ @tailwind components; @tailwind utilities; -@layer base { - svg { - display: unset; - vertical-align: unset; - } +.anchor svg { + display: inline; + vertical-align: unset; }