You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short description: If grid columns are defined using fr units and a column contains a select element with a very long option text, the length of the option text defines the width of the grid column, regardless of the width of the select element and whether select { max-width: 100%; } is set.
The text was updated successfully, but these errors were encountered:
set min-width: 0; on the container holding the select box.
Still curious why the width of the options element forces the width of the grid column. It obviously interacts with the bounding box in some way, but that interaction is not available anywhere. Style inspector panels still only show the box as the displayed with of the select element while grid interprets it as the width of options.
Codepen demo: https://codepen.io/mor10/pen/zWmdPN
Short description: If grid columns are defined using
fr
units and a column contains aselect
element with a very longoption
text, the length of theoption
text defines the width of the grid column, regardless of the width of theselect
element and whetherselect { max-width: 100%; }
is set.The text was updated successfully, but these errors were encountered: