fundamental-styles
fundamental-styles copied to clipboard
combobox: row height is greater than the 2.5 rem specified (Morning Horizon)
Row height is greater than the 2.5 rem specified (Morning Horizon)
Hi @obc514 what do you mean by row? The link you provided is for ComboBox and there I can't see anything mentioned about 2.5rem
The "touch" height of the input control is 40px (2.5rem) and the input itself is 36px (2.25rem)
Here's how it's per specs:
The bottom margin is 0 when the body (list) is open.
As for the body, it's constructed using the List component and the List item height is 2.75rem
@InnaAtanasova I think what is misleading is that the hover state on items that aren't selected exceeds the item height. I had a look at these specs and it looks like you are following the same approach but what is misleading is that in the UI5 cozy implementation, the hover state or highlighted row doesn't exceed 40px. That's why the fundamental implementations stand out a bit.
UI5 cozy implementation
@platon-rov could you check, please?