Tag use --highlight-secondary background if not set bulma classes

This commit is contained in:
SergeiTarkhanov 2024-11-13 12:44:24 +03:00 committed by Bastien Wirtz
parent 29a9cd3ea5
commit b6d9749dea

View File

@ -181,8 +181,6 @@
} }
.tag { .tag {
color: var(--highlight-secondary);
background-color: var(--highlight-secondary);
position: absolute; position: absolute;
bottom: 1rem; bottom: 1rem;
right: -0.2rem; right: -0.2rem;
@ -191,6 +189,11 @@
transition: all 0.2s ease-out; transition: all 0.2s ease-out;
padding: 0; padding: 0;
&:not([class*="is-"]) {
color: #ffffff;
background-color: var(--highlight-secondary);
}
.tag-text { .tag-text {
display: none; display: none;
} }
@ -213,7 +216,6 @@
.tag { .tag {
width: auto; width: auto;
color: #ffffff;
padding: 0 0.75em; padding: 0 0.75em;
.tag-text { .tag-text {