Fix reactions breaking on ZWJ

Reactions with emoji that use ZWJ can break into multiple lines, due to
the ZWJ being considered whitespace, and the container not being big
enough to fit them.

This commit fixes this by applying a white-space: nowrap declaration to
the emoji container.
This commit is contained in:
Grzesiek11 2023-12-22 14:18:03 +01:00
parent a0e7398725
commit 14512a50eb
No known key found for this signature in database
GPG key ID: 4A5445FB68CDB5C4
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import "./styles.css";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";

View file

@ -0,0 +1,3 @@
.reaction_fef95b .emoji {
white-space: nowrap;
}