From 8284e3bfe6bb731640371acb19ca0081a67422f5 Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Tue, 12 Dec 2023 11:03:31 +0100 Subject: [PATCH 1/2] [fix] Restrict `tag` class scope --- assets/components/atoms/tag/tag.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/atoms/tag/tag.scss b/assets/components/atoms/tag/tag.scss index 5606645d..c3ee1415 100644 --- a/assets/components/atoms/tag/tag.scss +++ b/assets/components/atoms/tag/tag.scss @@ -12,7 +12,7 @@ a.tag { } } -.tag { +a.tag, button.tag, span.tag { display: inline-block; margin: 0 0.1em 0.3em 0; padding: 0.4em 0.6em; From 093a21b3883ae3f80d2cf830706d7c8059fa2417 Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Wed, 13 Dec 2023 14:58:39 +0100 Subject: [PATCH 2/2] [fix] `div.tag`, `p.tag` as per review --- assets/components/atoms/tag/tag.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/atoms/tag/tag.scss b/assets/components/atoms/tag/tag.scss index c3ee1415..7ab50d00 100644 --- a/assets/components/atoms/tag/tag.scss +++ b/assets/components/atoms/tag/tag.scss @@ -12,7 +12,7 @@ a.tag { } } -a.tag, button.tag, span.tag { +a.tag, button.tag, span.tag, div.tag, p.tag { display: inline-block; margin: 0 0.1em 0.3em 0; padding: 0.4em 0.6em;