MOBILE-2464 format-text: Have min content width on images
parent
523571132a
commit
440c5c3a02
|
@ -268,6 +268,7 @@ core-format-text[ng-reflect-single-line="true"] {
|
||||||
|
|
||||||
.core-media-adapt-width {
|
.core-media-adapt-width {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
audio.core-media-adapt-width {
|
audio.core-media-adapt-width {
|
||||||
|
@ -341,7 +342,7 @@ core-format-text {
|
||||||
|
|
||||||
// Images in ion-card have width 100% and display block. Remove that when the image is in core-format-text.
|
// Images in ion-card have width 100% and display block. Remove that when the image is in core-format-text.
|
||||||
ion-card core-format-text img {
|
ion-card core-format-text img {
|
||||||
width: initial;
|
width: min-content;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue