From f5a88e43f84e16e8d730f8b97803eee534a486d8 Mon Sep 17 00:00:00 2001 From: Amir Alami Date: Mon, 20 Jan 2025 11:07:55 +0100 Subject: [PATCH] chore: Adds font smoothing to the form field's text like slots (#3193) --- pages/property-filter/custom-forms.scss | 4 ++-- src/form-field/styles.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/property-filter/custom-forms.scss b/pages/property-filter/custom-forms.scss index 048d8e6c4e..427f68b6a2 100644 --- a/pages/property-filter/custom-forms.scss +++ b/pages/property-filter/custom-forms.scss @@ -18,6 +18,6 @@ } .multiselect-form { - min-width: 200px; - max-width: 250px; + min-inline-size: 200px; + max-inline-size: 250px; } diff --git a/src/form-field/styles.scss b/src/form-field/styles.scss index 1a3d024db8..ea399b613a 100644 --- a/src/form-field/styles.scss +++ b/src/form-field/styles.scss @@ -19,6 +19,7 @@ color: awsui.$color-text-form-label; // We display label inline to achieve the proper line-wrapping with info links display: inline; + @include styles.font-smoothing; @include styles.font-label; @include styles.info-link-spacing; }