From b6d9749deae58b2ca43723d40b30e3648a9c03d5 Mon Sep 17 00:00:00 2001 From: SergeiTarkhanov Date: Wed, 13 Nov 2024 12:44:24 +0300 Subject: [PATCH] Tag use --highlight-secondary background if not set bulma classes --- src/assets/components/base.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/assets/components/base.scss b/src/assets/components/base.scss index 68ed22b..48a28db 100644 --- a/src/assets/components/base.scss +++ b/src/assets/components/base.scss @@ -181,8 +181,6 @@ } .tag { - color: var(--highlight-secondary); - background-color: var(--highlight-secondary); position: absolute; bottom: 1rem; right: -0.2rem; @@ -190,6 +188,11 @@ overflow: hidden; transition: all 0.2s ease-out; padding: 0; + + &:not([class*="is-"]) { + color: #ffffff; + background-color: var(--highlight-secondary); + } .tag-text { display: none; @@ -213,7 +216,6 @@ .tag { width: auto; - color: #ffffff; padding: 0 0.75em; .tag-text {