fix(material-experimental/mdc-tabs): correct min-width according to m… - #20979
Conversation
crisbeto
left a comment
There was a problem hiding this comment.
LGTM. For the record, I used the old min-width from the non-MDC version to keep the two closer visually.
| // we need the extra specificity to avoid issues with CSS insertion order. | ||
| flex-grow: 0; | ||
| min-width: 160px; | ||
| min-width: 90px; |
There was a problem hiding this comment.
If the min-width is in the spec, it seems like either MDC should set it directly. Could you check with the MDC folks about whether the omission of this from their styles is intentional?
I know this is really nitpicky for one style, but the goal of us basing our components on top of MDC is to converge as much as possible. Every extra line of style we add on top is a step away from that goal.
c26a3d8 to
9aa1dc3
Compare
|
Blocked on #21501 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…dc specs
Link to the specs in question: https://material.io/components/tabs#specs