Skip to content

Commit e2fa31a

Browse files
Alessandra Davilajoshblack
authored andcommitted
fix(multi-select): close button for tags (#4890)
* fix(multiselect): close button for tags * chore: remove relative positioning
1 parent 91daabb commit e2fa31a

File tree

1 file changed

+1
-8
lines changed
  • packages/components/src/components/tag

1 file changed

+1
-8
lines changed

packages/components/src/components/tag/_tag.scss

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
@include type-style('label-01');
2020

2121
display: inline-flex;
22-
position: relative;
2322
align-items: center;
2423
padding: 0 $carbon--spacing-03;
2524
height: 1.5rem;
@@ -96,16 +95,10 @@
9695
@include tag-theme($inverse-02, $inverse-01);
9796

9897
cursor: pointer;
99-
padding-right: calc(
100-
#{$carbon--spacing-06} + #{rem(2px)}
101-
); // icon width + 2px space from right edge
98+
padding-right: rem(2px);
10299
}
103100

104101
.#{$prefix}--tag--filter > svg {
105-
position: absolute;
106-
right: rem(2px);
107-
top: 50%;
108-
transform: translateY(-50%);
109102
fill: $inverse-01;
110103
margin-left: rem(4px);
111104
padding: rem(2px);

0 commit comments

Comments
 (0)