From 73115dee9794dc4c82070a42ae88a4ca00b5b673 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 23 Feb 2022 15:09:24 +0800 Subject: [PATCH 1/2] Remove harmfull .mx_Dialog font-weight definition Specifying the font-weight here is harmful when using fonts that support Light or variable weights. Fixes https://github.com/vector-im/element-web/issues/21171 --- res/css/_common.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/res/css/_common.scss b/res/css/_common.scss index a4b470d0527..11f5c9d0c78 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -294,7 +294,6 @@ legend { background-color: $background; color: $light-fg-color; z-index: 4012; - font-weight: 300; font-size: $font-15px; position: relative; padding: 24px; From 9d18cb431367c1770d8b5c9d0e4100aeddbb48ab Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 23 Feb 2022 18:31:10 +0800 Subject: [PATCH 2/2] remove two other font-weight 300 instances --- res/css/structures/_CreateRoom.scss | 1 - res/css/structures/_GroupView.scss | 1 - 2 files changed, 2 deletions(-) diff --git a/res/css/structures/_CreateRoom.scss b/res/css/structures/_CreateRoom.scss index 78e6881b108..c2117a8e548 100644 --- a/res/css/structures/_CreateRoom.scss +++ b/res/css/structures/_CreateRoom.scss @@ -25,7 +25,6 @@ limitations under the License. .mx_CreateRoom textarea { border-radius: 3px; border: 1px solid $strong-input-border-color; - font-weight: 300; font-size: $font-13px; padding: 9px; margin-top: 6px; diff --git a/res/css/structures/_GroupView.scss b/res/css/structures/_GroupView.scss index 8d05135a9af..b0f896030f8 100644 --- a/res/css/structures/_GroupView.scss +++ b/res/css/structures/_GroupView.scss @@ -147,7 +147,6 @@ limitations under the License. float: left; max-height: 42px; color: $settings-grey-fg-color; - font-weight: 300; font-size: $font-13px; padding-left: 19px; margin-right: 16px;