You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use the default slot of the expansion panel with an inline element (span for example), the text isn't flowing properly. There should be a style added to make any slotted element in the default slot a block element.
Here's the issue with the span element:
And here's how it looks like if you use "display: block" for it:
Reproduction
Open the expansion panel sample
Use an inline element (for example span) to slot the text in the default slot.
See how it speads more than it should.
Workaround
All slotted elements in the default slot should use the "display: block" style.
Is this a regression?
No or unsure. This never worker, or I haven't tried before.
Affected versions
5.0.1
Browser/OS/Node environment
Tested on Chrome, probably the problem is present in all browsers.
The text was updated successfully, but these errors were encountered:
Which component(s) are affected?
Expansion panel
Description
When you use the default slot of the expansion panel with an inline element (span for example), the text isn't flowing properly. There should be a style added to make any slotted element in the default slot a block element.
Here's the issue with the span element:
And here's how it looks like if you use "display: block" for it:
Reproduction
Workaround
All slotted elements in the default slot should use the "display: block" style.
Is this a regression?
No or unsure. This never worker, or I haven't tried before.
Affected versions
5.0.1
Browser/OS/Node environment
Tested on Chrome, probably the problem is present in all browsers.
The text was updated successfully, but these errors were encountered: