mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-12 10:36:23 +00:00
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:
parent
a0e7398725
commit
14512a50eb
2 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import "./styles.css";
|
||||||
|
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
|
|
||||||
|
|
3
src/plugins/textEmoji/styles.css
Normal file
3
src/plugins/textEmoji/styles.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.reaction_fef95b .emoji {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
Loading…
Reference in a new issue