Skip to content

Commit 8cd4d26

Browse files
committed
fix(TagList): container width
1 parent 45210c8 commit 8cd4d26

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/strong-files-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/ui": patch
3+
---
4+
5+
`TagList`: fix container width

packages/ui/src/components/TagList/styles.css.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ import { TAGS_GAP } from './constant'
66

77
export const popoverTriggerWidthVar = createVar()
88

9-
const container = style({ display: 'flex' })
9+
const container = style({
10+
display: 'flex',
11+
width: '100% !important', // It should always have a width of 100% for overflow computation
12+
})
1013

1114
const tagContainer = recipe({
1215
base: {

0 commit comments

Comments
 (0)