Skip to content

Commit

Permalink
Tag use --highlight-secondary background if not set bulma classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Canti23 authored and bastienwirtz committed Nov 13, 2024
1 parent 29a9cd3 commit b6d9749
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/assets/components/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,18 @@
}

.tag {
color: var(--highlight-secondary);
background-color: var(--highlight-secondary);
position: absolute;
bottom: 1rem;
right: -0.2rem;
width: 3px;
overflow: hidden;
transition: all 0.2s ease-out;
padding: 0;

&:not([class*="is-"]) {
color: #ffffff;
background-color: var(--highlight-secondary);
}

.tag-text {
display: none;
Expand All @@ -213,7 +216,6 @@

.tag {
width: auto;
color: #ffffff;
padding: 0 0.75em;

.tag-text {
Expand Down

0 comments on commit b6d9749

Please sign in to comment.