Open spmonahan opened 12 months ago
That's a good callout, I was focusing on the reflow designs, but didn't realize that the multiline layout is slightly different to reflow in the specs 👍
I'll need to clear this up with designers since there are some contradictions with respect to the reflow designs. From what I can see either the MessageBar text should:
The two are conflicting requirements from a CSS perspective, since text will naturally try to wrap as its containing box shrinks. If you have any suggestions, I'm open to them.
I'll try to take a look but seeing if we can revisit the design based on our CSS constraints feels like a good place to start.
Perhaps minmax()
can be used? I don't know that this solution handles all the nuance though :)
https://codesandbox.io/s/misty-field-3398vr?file=/example.tsx:358-414
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
React component
Design spec
Design example