Skip to content

Commit

Permalink
fixup! Make Badge priority class always present like in all other c…
Browse files Browse the repository at this point in the history
…omponents
  • Loading branch information
adamkudrna committed Sep 4, 2024
1 parent 025f546 commit 2c491b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Badge/Badge.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ $_badge-size: 1.25rem;
vertical-align: baseline;
color: var(--rui-local-color);
border-radius: math.div($_badge-size, 2);
}

.isRootPriorityFilled {
background-color: var(--rui-local-background-color);
box-shadow: var(--rui-local-box-shadow, #{0 0 0 2px rgb(255 255 255 / 80%)});
}
Expand Down Expand Up @@ -67,9 +70,6 @@ $_badge-size: 1.25rem;
}

.isRootPriorityOutline {
--rui-local-background-color: transparent;
--rui-local-box-shadow: none;

padding-top: 0.1875rem;
padding-bottom: 0.1875rem;
border: borders.$width solid currentcolor;
Expand Down

0 comments on commit 2c491b8

Please sign in to comment.