From 2034cce2354abb3e475788895aa30579f0116940 Mon Sep 17 00:00:00 2001 From: Germain Date: Tue, 4 Jul 2023 19:02:39 +0100 Subject: [PATCH] Scope smaller font size to user info panel (#11178) --- res/css/views/right_panel/_BaseCard.pcss | 2 +- res/css/views/right_panel/_UserInfo.pcss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/res/css/views/right_panel/_BaseCard.pcss b/res/css/views/right_panel/_BaseCard.pcss index 8c6ce9f6d7..ad63b698c4 100644 --- a/res/css/views/right_panel/_BaseCard.pcss +++ b/res/css/views/right_panel/_BaseCard.pcss @@ -25,7 +25,7 @@ limitations under the License. display: flex; flex-direction: column; flex: 1; - font-size: var(--cpd-font-size-body-sm); + font-size: var(--cpd-font-size-body-md); .mx_BaseCard_header { --BaseCard_header_button-margin: $spacing-12; diff --git a/res/css/views/right_panel/_UserInfo.pcss b/res/css/views/right_panel/_UserInfo.pcss index 7badbb5bd9..1c383b1419 100644 --- a/res/css/views/right_panel/_UserInfo.pcss +++ b/res/css/views/right_panel/_UserInfo.pcss @@ -19,6 +19,7 @@ limitations under the License. /* UserInfo has a circular image at the top so it fits between the back & close buttons */ padding-top: 0; overflow-y: auto; + font-size: var(--cpd-font-size-body-sm); .mx_UserInfo_cancel { cursor: pointer;