Skip to content

Commit

Permalink
fix: listbox size on small screens should not exceed screen width
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert authored and Yolijn committed Dec 27, 2024
1 parent d25537e commit 7a8910c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/neat-beers-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@utrecht/listbox-css": patch
"@utrecht/listbox-react": patch
---

Fix Listbox size on very small screens.
1 change: 1 addition & 0 deletions components/listbox/src/_mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
font-weight: var(--utrecht-listbox-font-weight, var(--utrecht-form-control-font-weight, initial));
inline-size: var(--utrecht-listbox-inline-size, var(--utrecht-form-control-max-inline-size));
max-block-size: var(--utrecht-listbox-max-block-size);
max-inline-size: 100%;
min-block-size: 1em;
overflow-block: auto;
overflow-y: auto;
Expand Down

0 comments on commit 7a8910c

Please sign in to comment.