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/css/structured-content.css | |
parent | 9f3d267e241bb2886f85d39e5e0e6dde45e6888b (diff) |
Update CSS rules for images (#1777)
Diffstat (limited to 'ext/css/structured-content.css')
-rw-r--r-- | ext/css/structured-content.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css index ea0bf5cd..37cfde86 100644 --- a/ext/css/structured-content.css +++ b/ext/css/structured-content.css @@ -20,6 +20,7 @@ display: inline-block; white-space: nowrap; max-width: 100%; + max-height: 100vh; position: relative; vertical-align: top; line-height: 0; @@ -35,6 +36,7 @@ display: inline-block; position: relative; line-height: 1; + max-width: 100%; } .gloss-image-link[href]:hover { cursor: pointer; @@ -119,7 +121,7 @@ :root[data-browser=firefox-mobile] .gloss-image-link[data-image-rendering=crisp-edges] .gloss-image-background { image-rendering: auto; } -.gloss-image-link[data-has-aspect-ratio=true] .gloss-image-aspect-ratio-sizer { +.gloss-image-link[data-has-aspect-ratio=true] .gloss-image-sizer { display: inline-block; width: 0; vertical-align: top; |