diff --git a/conversejs/custom/shared/styles/_peertubetheme.scss b/conversejs/custom/shared/styles/_peertubetheme.scss
index 7b936587..3c1fc5af 100644
--- a/conversejs/custom/shared/styles/_peertubetheme.scss
+++ b/conversejs/custom/shared/styles/_peertubetheme.scss
@@ -1,5 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 John Livingston
+ * SPDX-FileCopyrightText: 2025 Nicolas Chesnais
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
@@ -149,11 +150,12 @@
background-color: var(--peertube-grey-background) !important;
}
- // Changing size for emojis, to have bigger custom emojis
+ // Resize custom emojis to text height
img.emoji {
width: unset !important;
height: unset !important;
- max-height: 3em !important; // and no max-width
+ max-height: 1.5em !important; // and no max-width
+ vertical-align: -0.45em !important;
}
// underline links in chat messages