Skip to content

Commit e194daa

Browse files
committed
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 <[email protected]>
1 parent d74ac66 commit e194daa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sass/components/_chips.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
margin: 0;
110110
padding: 0;
111111
width: 120px;
112+
width: fit-content;
113+
min-width: 100px;
114+
max-width: 200px;
112115

113116

114117
&:focus {

0 commit comments

Comments
 (0)