From 0ff8f7b2e08339b3c9521ef895f4f15b8e927af2 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 8 Apr 2025 17:58:01 +0100 Subject: [PATCH] MDL-85143 output: correct size/proportions of emoticon images. They were stretched horizontally since 28846e71, correct that here. --- theme/boost/scss/moodle/icons.scss | 4 ++-- theme/boost/style/moodle.css | 4 ++-- theme/classic/style/moodle.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/theme/boost/scss/moodle/icons.scss b/theme/boost/scss/moodle/icons.scss index 8ed70c49358..58215e7d223 100644 --- a/theme/boost/scss/moodle/icons.scss +++ b/theme/boost/scss/moodle/icons.scss @@ -97,8 +97,8 @@ $iconwidthsizes: map-merge(( } &.emoticon { - max-width: map-get($iconwidthsizes, 3); - max-height: map-get($iconsizes, 3); + width: map-get($iconsizes, 3); + height: map-get($iconsizes, 3); } } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 8dd69739ada..043a7546ab4 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28715,8 +28715,8 @@ body.behat-site .action-menu .dropdown-subpanel-content.show { font-size: 64px; } .icon.emoticon { - max-width: 20px; - max-height: 16px; + width: 16px; + height: 16px; } img.icon { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index ab4598b41dd..cfe843ce375 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28715,8 +28715,8 @@ body.behat-site .action-menu .dropdown-subpanel-content.show { font-size: 64px; } .icon.emoticon { - max-width: 20px; - max-height: 16px; + width: 16px; + height: 16px; } img.icon { -- 2.43.0