Skip to content

Commit 0846769

Browse files
committed
Fix color label overflow
1 parent 54af8d4 commit 0846769

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/flat-jars-agree.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@compai/css-gui': patch
3+
---
4+
5+
Fix color label overflow

packages/gui/src/components/primitives/ColorPicker/PalettePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function PalettePopover({
4343
border: '1px solid',
4444
borderColor: 'border',
4545
borderRadius: '0.25rem',
46-
width: 'max-content',
46+
maxWidth: '200px',
4747
fontSize: '0.875rem',
4848
textOverflow: 'ellipsis',
4949
overflow: 'hidden',

0 commit comments

Comments
 (0)