Commit 8bd1a99
committed
fix(registry): add explicit width to ColorDropdownMenuItems to prevent dropdown clipping (#5052)
When font or background color picker dropdown was opened in a narrow toolbar,
ColorDropdownMenuItems's 10-column grid clipped horizontally because no explicit width
was set on the grid container.
Fix:
- Add w-[276px] to ColorDropdownMenuItems grid container in font-color-toolbar-button.tsx.
- Add patch changeset for registry UI.
Closes #50521 parent 3add964 commit 8bd1a99
2 files changed
Lines changed: 6 additions & 1 deletion
File tree
- .changeset
- apps/www/src/registry/ui
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| |||
0 commit comments