FIX: prevents scrollbar jumping in the emoji picker (#10749)

This was mostly due to `content-visibility: auto;` but setting the width/height is also a good practice.
This commit is contained in:
Joffrey JAFFEUX
2020-09-28 13:23:46 +02:00
committed by GitHub
parent e00abbe1b7
commit c230d2e443
6 changed files with 19 additions and 18 deletions

View File

@@ -32,7 +32,7 @@ QUnit.test("unescapesEmojisInBlurbs", (assert) => {
const blurb = results.posts[0].get("blurb");
assert.ok(blurb.indexOf("thinking.png"));
assert.ok(blurb.indexOf("<img src") === 0);
assert.ok(blurb.indexOf('<img width="20" height="20" src') === 0);
assert.ok(blurb.indexOf(":thinking:") === -1);
});