File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/components/fields/ComboBox Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ const ComboBoxOverlayElement = tasty({
7575 styles : {
7676 display : 'grid' ,
7777 gridRows : '1sf' ,
78- width : '30x max-content 50vw' ,
78+ gridColumns : '1sf' ,
79+ width : '$min-width max-content 50vw' ,
7980 height : 'initial max-content (50vh - $size)' ,
8081 overflow : 'auto' ,
8182 background : '#white' ,
@@ -105,6 +106,8 @@ const ComboBoxOverlayElement = tasty({
105106 '' : 1 ,
106107 '!open' : 0.001 ,
107108 } ,
109+
110+ '$min-width' : 'min 30x' ,
108111 } ,
109112} ) ;
110113
@@ -896,7 +899,7 @@ function ComboBoxOverlay({
896899 } }
897900 styles = { overlayStyles }
898901 style = { {
899- minWidth : comboBoxWidth ? `${ comboBoxWidth } px` : undefined ,
902+ '--min-width' : comboBoxWidth ? `${ comboBoxWidth } px` : undefined ,
900903 ...overlayPositionProps . style ,
901904 } }
902905 >
You can’t perform that action at this time.
0 commit comments