From 09f1ea433f69a7319810396592175265e3c686e1 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 1 Mar 2024 08:47:44 -0500 Subject: [PATCH] Apply 14x14 avatar size to EventTile and GELS --- res/css/_sc/views/rooms/_IRClayout.pcss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/res/css/_sc/views/rooms/_IRClayout.pcss b/res/css/_sc/views/rooms/_IRClayout.pcss index 1acec5ba707b..eea756f32044 100644 --- a/res/css/_sc/views/rooms/_IRClayout.pcss +++ b/res/css/_sc/views/rooms/_IRClayout.pcss @@ -48,6 +48,15 @@ limitations under the License. } } +@define-mixin sc_BaseAvatar { + /* Need to use important to override the js provided height and width values. */ + .mx_BaseAvatar, + .mx_BaseAvatar > * { + height: $font-14px !important; + width: $font-14px !important; + } +} + @define-mixin sc_ReplyTile { .mx_ReplyChain { .mx_DisambiguatedProfile { @@ -99,6 +108,7 @@ limitations under the License. } @mixin sc_DisambiguatedProfile; + @mixin sc_BaseAvatar; @mixin sc_borderRadius; @mixin sc_ReplyTile; } @@ -124,6 +134,8 @@ limitations under the License. top: 0px; /* Remove the value specified by the upstream as this is no longer needed */ } } + + @mixin sc_BaseAvatar; } } }