Closed satyamyadav closed 2 years ago
Hi, I think that the inline-flex
property is not an issue here. The Chip component doesn't know how tu sum up the total width here because the element width is not static (width: fit-content currently). For action and selection Chips wouldn't outline
property be a better choice?
Closing due to inactivity.
Description
The height and width of the Chip component is 2px more than type
input
in case of typesaction
andselection
. It seems that the border width is adding up in width and height and propertybox-sizing: border-box
is not applied as it has displayinline-flex
.Steps to reproduce
type
in live code editor or knobs (canvas tab of All titled story).Expected result
type
prop.24px
for all the types.Actual result
What happened.
Height and width is not consistent for all types of the
Chip
component.