fix(label): text overflow for slotted headings (#20690)

fixes #17087
This commit is contained in:
Simon Hänisch
2020-03-11 17:42:46 +01:00
committed by GitHub
parent d53595eb16
commit 4d34ce6a31
3 changed files with 94 additions and 0 deletions

View File

@ -79,3 +79,17 @@
:host(.label-no-animate.label-floating) {
transition: none;
}
// Headings
// --------------------------------------------------
::slotted(*) h1,
::slotted(*) h2,
::slotted(*) h3,
::slotted(*) h4,
::slotted(*) h5,
::slotted(*) h6 {
text-overflow: inherit;
overflow: inherit;
}