1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 12:55:55 +00:00

Fix for randomly oversized emojis for some user by adding a default value of 1em to where the css-variables get used

This commit is contained in:
Devsencel 2024-12-13 20:40:16 +01:00
parent 93181dc8e8
commit 9e98ae7789
3 changed files with 6 additions and 6 deletions

View file

@ -22,8 +22,8 @@
}
.ffz-emoji {
width: calc(var(--ffz-chat-font-size) * 1.5);
height: calc(var(--ffz-chat-font-size) * 1.5);
width: calc(var(--ffz-chat-font-size, 1em) * 1.5);
height: calc(var(--ffz-chat-font-size, 1em) * 1.5);
&.preview-image {
width: 7.2rem;

View file

@ -1,6 +1,6 @@
.ffz--inline:not(.scaled-modified-emote) .ffz-emoji {
width: 3.6rem !important;
height: 3.6rem !important;
width: calc(var(--ffz-chat-font-size) * 3) !important;
height: calc(var(--ffz-chat-font-size) * 3) !important;
width: calc(var(--ffz-chat-font-size, 1em) * 3) !important;
height: calc(var(--ffz-chat-font-size, 1em) * 3) !important;
}

View file

@ -165,8 +165,8 @@
.ffz-notice-icon,
.ffz-emoji {
width: 1.8rem; height: 1.8rem;
width: calc(var(--ffz-chat-font-size) * 1.5);
height: calc(var(--ffz-chat-font-size) * 1.5);
width: calc(var(--ffz-chat-font-size, 1em) * 1.5);
height: calc(var(--ffz-chat-font-size, 1em) * 1.5);
}
.ffz-emoji {