Skip to content

Commit 5f544a6

Browse files
spaceokasperbirch1
authored andcommitted
Only use outlined when not selected
1 parent 1851649 commit 5f544a6

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/stories/Library/search-result-page/facet-line.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,5 @@
2323
display: inline-block;
2424
@extend %mr-8;
2525
@extend %mt-8;
26-
27-
.dropdown__select {
28-
@extend %text-tags;
29-
height: 100%;
30-
padding: $s-sm $s-md;
31-
min-width: 100px;
32-
}
33-
.dropdown__arrows {
34-
height: 100%;
35-
}
3626
}
3727
}

src/stories/Library/tag/Tag.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export const Tag = ({
2525
aria-pressed={selected}
2626
onClick={() => isClickable && setSelected(!selected)}
2727
className={clsx(
28-
"tag tag--outlined",
29-
(hasBackground || selected) && "tag--outlined-selected",
28+
"tag",
29+
hasBackground || selected ? "tag--outlined-selected" : "tag--outlined",
3030
usesCursor && "cursor-pointer",
3131
`tag--${size}`
3232
)}

0 commit comments

Comments
 (0)