summaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-06-28 22:12:17 -0400
committerGitHub <noreply@github.com>2021-06-28 22:12:17 -0400
commit1f1a958a71b44e5c6e0dbc0742e007fa5abeca29 (patch)
treedf6c0f2f770e276936f083688cc4ca9b0601b300 /ext/js/display
parent9f3d267e241bb2886f85d39e5e0e6dde45e6888b (diff)
Update CSS rules for images (#1777)
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/structured-content-generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/structured-content-generator.js b/ext/js/display/structured-content-generator.js
index 98706ca9..833df6f6 100644
--- a/ext/js/display/structured-content-generator.js
+++ b/ext/js/display/structured-content-generator.js
@@ -101,7 +101,7 @@ class StructuredContentGenerator {
const imageContainer = this._createElement('span', 'gloss-image-container');
node.appendChild(imageContainer);
- const aspectRatioSizer = this._createElement('span', 'gloss-image-aspect-ratio-sizer');
+ const aspectRatioSizer = this._createElement('span', 'gloss-image-sizer');
imageContainer.appendChild(aspectRatioSizer);
const imageBackground = this._createElement('span', 'gloss-image-background');