From 934a217979f5b981e146113c0e2301d95e12651f Mon Sep 17 00:00:00 2001 From: Germain Date: Mon, 3 Jul 2023 15:29:45 +0100 Subject: [PATCH] Scope smaller font size to user info panel --- 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 8c6ce9f6d72..ad63b698c46 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 7badbb5bd9d..1c383b14193 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;