MOBILE-4338 core: Fix whitespace in <pre> elements
"pre" comes from "preformatted text", so we shouldn't be tweaking the whitespace on those elements.main
parent
647f105873
commit
072da8a045
|
@ -120,15 +120,15 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Correctly inherit ion-text-wrap onto labels.
|
// Correctly inherit ion-text-wrap onto labels.
|
||||||
.item ion-label core-format-text > *,
|
.item ion-label core-format-text > *:not(pre),
|
||||||
.fake-ion-item core-format-text > * {
|
.fake-ion-item core-format-text > *:not(pre) {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item.ion-text-wrap > ion-label core-format-text > *,
|
.item.ion-text-wrap > ion-label core-format-text > *:not(pre),
|
||||||
.fake-ion-item.ion-text-wrap core-format-text > * {
|
.fake-ion-item.ion-text-wrap core-format-text > *:not(pre) {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
overflow: inherit;
|
overflow: inherit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue