Skip to content

Commit

Permalink
fix(Tag): add stretch for the Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ej9x committed Feb 22, 2019
1 parent ba384cf commit f2ebc09
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions e2e/__tests__/tag.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { baisy } from '../setup/TestSuiter';

const SUITES = [
baisy.suite('Components/Tag', 'common'),
baisy.suite('Components/Tag', 'with large content'),
];


Expand Down
5 changes: 5 additions & 0 deletions src/components/Tag/Tag.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export default (asStory: *) => {
<Tag color="LIGHT_GRAY4">Content</Tag>
<Tag color="LIGHT_GRAY5">Content</Tag>
</Column>
))
.add('with large content', () => (
<Column>
<Tag>data-builder-test-js-as-an-authorized-user-i-should-see-require-validation-during-create-the-text-filled.png</Tag>
</Column>
));
});
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tag/Tag.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const name = 'tag';
const [TagOuter, theme] = createThemeTag(name, ({ COLORS }: *): * => ({
root: {
margin: 0,
height: '24px',
minHeight: '24px',
padding: '0 12px',
borderRadius: '24px',
display: 'flex',
Expand Down

0 comments on commit f2ebc09

Please sign in to comment.