Skip to content

Commit

Permalink
fix(tag): add default cursor to non-filter tag (#5140)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn authored and joshblack committed Jan 23, 2020
1 parent 1e374a4 commit 0fbfae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
min-width: rem(32px); // ensures tag stays pill shaped;
margin: $carbon--spacing-02;
border-radius: rem(15px);
cursor: default;

&:not(:first-child) {
margin-left: 0;
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Tag/Tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ const Tag = ({
<Close16 />
</button>
) : (
<button className={tagClasses} {...other}>
<span className={tagClasses} {...other}>
{children !== null && children !== undefined ? children : TYPES[type]}
</button>
</span>
);
};

Expand Down

0 comments on commit 0fbfae9

Please sign in to comment.