From 37ed0605b783e44eb5f8ef6c95304b568c6342eb Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Tue, 27 Jan 2026 22:56:22 +0100 Subject: [PATCH] fix(ui): center-align emojis to neighbouring text (#11057) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Testing 1. Create issue with Emoji next to text, e.g. this is a 🐸 with no ℹ️ Information. 2. Observe that the emoji is not anymore top-aligned to the text. (Here a test string with Forgejo’s [custom emojis](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/public/assets/img/emoji): :codeberg: test :git: :gitea: TEST :gogs: :forgejo: Test :github: :gitlab:) - [x] checked on Chromium and Firefox on Linux (ofc) myself - [x] checked on Firefox on MacOS, https://codeberg.org/forgejo/forgejo/pulls/11057#issuecomment-10182195 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11057 Reviewed-by: Beowulf Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Robert Wolff Co-committed-by: Robert Wolff --- web_src/css/markup/content.css | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index b22df9a402..931f33d064 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -338,7 +338,6 @@ .markup .emoji { max-width: none; - vertical-align: text-top; } .markup span.frame {