Skip to content

Commit

Permalink
fix(multi-select): close button for tags (#4890)
Browse files Browse the repository at this point in the history
* fix(multiselect): close button for tags

* chore: remove relative positioning
  • Loading branch information
Alessandra Davila authored and joshblack committed Dec 17, 2019
1 parent bbcbbcf commit 704de07
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/components/src/components/tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
@include type-style('label-01');

display: inline-flex;
position: relative;
align-items: center;
padding: 0 $carbon--spacing-03;
height: 1.5rem;
Expand Down Expand Up @@ -96,16 +95,10 @@
@include tag-theme($inverse-02, $inverse-01);

cursor: pointer;
padding-right: calc(
#{$carbon--spacing-06} + #{rem(2px)}
); // icon width + 2px space from right edge
padding-right: rem(2px);
}

.#{$prefix}--tag--filter > svg {
position: absolute;
right: rem(2px);
top: 50%;
transform: translateY(-50%);
fill: $inverse-01;
margin-left: rem(4px);
padding: rem(2px);
Expand Down

0 comments on commit 704de07

Please sign in to comment.