mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user