[picker] "block" => "inline" mismatch?
Opened this issue · 2 comments
Westbrook commented
spectrum-css/components/picker/index.css
Line 203 in f5262ea
Here we see min-inline-size
set to block-size
, is that expected?
castastrophe commented
@Westbrook I can double check but as I understand it, we're calculating the minimum width based on the size of the height * the multiplier. I believe that's on purpose however I do notice there's no override for min-inline-size either. Perhaps:
min-inline-size: var(--mod-picker-inline-size, calc(var(--spectrum-picker-minimum-width-multiplier) * var(--mod-picker-block-size, var(--spectrum-picker-block-size))));
Westbrook commented
I think that makes sense. If the calculation is expected, a --mod-*
value to ensure we still have full control over the width
without altering the height
should cover the bases.
Aside: oy, it is hard to think outloud in logical properties. 🙃