diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-06-28 22:12:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 22:12:17 -0400 |
commit | 1f1a958a71b44e5c6e0dbc0742e007fa5abeca29 (patch) | |
tree | df6c0f2f770e276936f083688cc4ca9b0601b300 /ext/data | |
parent | 9f3d267e241bb2886f85d39e5e0e6dde45e6888b (diff) |
Update CSS rules for images (#1777)
Diffstat (limited to 'ext/data')
-rw-r--r-- | ext/data/structured-content-style.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/data/structured-content-style.json b/ext/data/structured-content-style.json index 80a71e1c..cae7ff9f 100644 --- a/ext/data/structured-content-style.json +++ b/ext/data/structured-content-style.json @@ -5,6 +5,7 @@ ["display", "inline-block"], ["white-space", "nowrap"], ["max-width", "100%"], + ["max-height", "100vh"], ["position", "relative"], ["vertical-align", "top"], ["line-height", "0"], @@ -19,7 +20,8 @@ ["color", "inherit"], ["display", "inline-block"], ["position", "relative"], - ["line-height", "1"] + ["line-height", "1"], + ["max-width", "100%"] ] }, { @@ -130,7 +132,7 @@ ] }, { - "selectors": [".gloss-image-link[data-has-aspect-ratio=true] .gloss-image-aspect-ratio-sizer"], + "selectors": [".gloss-image-link[data-has-aspect-ratio=true] .gloss-image-sizer"], "styles": [ ["display", "inline-block"], ["width", "0"], |