Issue number: N/A
What is the current behavior?
In MD mode, items in an inset list currently receive their own border radius, separate from the border radius also applied to the inset list itself. The original intent was likely to ensure that the corners of the items don't spill out of the list. However, the item's border radius is no longer needed, for two reasons:
- MD has since added top/bottom padding to their lists (spec), which we've mirrored. This means the borders no longer line up anyway.
- Even if a developer removes the list's vertical padding (we set it on the host here, so it's easy to overwrite), inset lists currently have
overflow: hiddenset here, so the list's border radius still applies correctly even with the items' border radius removed.
What is the new behavior?
Item border radius in inset lists removed.
When testing locally, you may find it useful to increase the MD border radius value here so it's easier to see.
Does this introduce a breaking change?
- Yes
- No