From dd040582d495839b5bfbd7f467f339faf98da8a1 Mon Sep 17 00:00:00 2001 From: axolotle Date: Wed, 14 May 2025 15:43:26 +0200 Subject: [PATCH] Resize custom emojis to text height --- conversejs/custom/shared/styles/_peertubetheme.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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