diff --git a/packages/components/src/components/tag/_tag.scss b/packages/components/src/components/tag/_tag.scss index ac35cf0780e8..18800a6791aa 100644 --- a/packages/components/src/components/tag/_tag.scss +++ b/packages/components/src/components/tag/_tag.scss @@ -36,6 +36,7 @@ min-height: rem(24px); margin: $carbon--spacing-02; padding: $carbon--spacing-02 $carbon--spacing-03; + vertical-align: middle; word-break: break-word; border-radius: rem(15px); cursor: default; diff --git a/packages/react/src/components/Tag/Tag-story.js b/packages/react/src/components/Tag/Tag-story.js index 8480d9c25c53..03e5e011edcd 100644 --- a/packages/react/src/components/Tag/Tag-story.js +++ b/packages/react/src/components/Tag/Tag-story.js @@ -94,6 +94,19 @@ _Default.parameters = { }, }; +export const VerticalAlignment = () => ( + <> + Tag 1 + + Tag 2 + + + Tag 3 + + Tag 3 + +); + export const Filter = () => ( {text('Content (children)', 'This is a tag')}