From de85f166bc491e487904ff21ff7f087c176f2d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A9sor=20ILOYI?= Date: Thu, 28 Mar 2024 09:31:48 +0100 Subject: [PATCH] fix(component/textarea): limit resize beyond the max width (#1568) Fix #1469 --- packages/styles/components/_c.textarea.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/styles/components/_c.textarea.scss b/packages/styles/components/_c.textarea.scss index 60d827a74..a761e3d68 100644 --- a/packages/styles/components/_c.textarea.scss +++ b/packages/styles/components/_c.textarea.scss @@ -13,6 +13,7 @@ border: $border-width solid $color-input-border; background: $color-input-background; transition: all ease 200ms; + max-width: 100%; // remove border height and center baseline optically padding: calc(#{$mu075} - 0.125em - #{$border-width}) $mu075