From 9fcc41d85c19e241d91b0fe342d71aeec42a2122 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Wed, 11 Dec 2024 12:42:53 -0800 Subject: [PATCH] compose: Scale compose banner close button with info density setting. --- web/styles/compose.css | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/web/styles/compose.css b/web/styles/compose.css index bea05dc57a..f5fe028f21 100644 --- a/web/styles/compose.css +++ b/web/styles/compose.css @@ -552,11 +552,7 @@ border: 1px solid; display: flex; align-items: center; - /* Banners should carry at least a minimum - legacy font-size of 15px, and a line-height - of 18px. 1.2em is 18px at 15px/1em. */ - font-size: max(15px, var(--base-font-size-px)); - line-height: max(18px, 1.2em); + line-height: 1.2em; /* 18px at 15px/1em. */ .main-view-banner-elements-wrapper { display: flex; @@ -684,13 +680,6 @@ ::before content where the icon sits. */ display: flex; align-items: center; - - /* Set the font-size for the close button - on the ::before element, so that it doesn't - impact the em units above. */ - &::before { - font-size: 16px; - } } .banner_content + .main-view-banner-close-button {