Skip to content

Commit 8ed377c

Browse files
committedFeb 14, 2025
Fix: Update non-dismissible max-width to 166px
1 parent e429058 commit 8ed377c

File tree

1 file changed

+3
-1
lines changed
  • packages/components/src/styles/components

1 file changed

+3
-1
lines changed
 

‎packages/components/src/styles/components/tag.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,23 @@ $hds-tag-border-radius: 50px;
4343
.hds-tag__text,
4444
.hds-tag__link {
4545
flex: 1 0 0;
46-
max-width: 160px;
46+
max-width: 166px;
4747
padding: 3px 10px 5px 10px;
4848
border-radius: inherit;
4949
}
5050

5151
.hds-tag__text-container {
5252
display: -webkit-box;
5353
overflow: hidden;
54+
word-break: break-all;
5455
-webkit-box-orient: vertical;
5556
-webkit-line-clamp: 1;
5657
line-clamp: 1;
5758
}
5859

5960
.hds-tag__dismiss ~ .hds-tag__text,
6061
.hds-tag__dismiss ~ .hds-tag__link {
62+
max-width: 160px;
6163
padding: 3px 8px 5px 6px;
6264
border-top-left-radius: 0;
6365
border-bottom-left-radius: 0;

0 commit comments

Comments
 (0)
Failed to load comments.