From e194daa45d819713ad52eaa337d4db61cfb79211 Mon Sep 17 00:00:00 2001 From: Harshit Gupta Date: Fri, 5 Jun 2020 16:24:30 +0530 Subject: [PATCH] fix: Update input width in '_chips.scss' component This is a minor commit which updates the width of input field from fixed 121px to 'fit-content' type, overwritten wherever the browser is able to render this property. Also, the optional min-width and max-width are set to limit its size between a reasnable limit of 100px and 200px. With this change, the input placeholder (if limited to under 200px) will not get cropped, and it will also have a better fit into the input field. Signed-off-by: Harshit Gupta --- sass/components/_chips.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sass/components/_chips.scss b/sass/components/_chips.scss index 2e28d0cc02..5104445628 100644 --- a/sass/components/_chips.scss +++ b/sass/components/_chips.scss @@ -109,6 +109,9 @@ margin: 0; padding: 0; width: 120px; + width: fit-content; + min-width: 100px; + max-width: 200px; &:focus {