birdofpreyru / react-utils

ReactJS development kit.
https://dr.pogodin.studio/docs/react-utils/index.html
Other
3 stars 0 forks source link

`<Input>` explicitly set the width of input element, to keep it consistent between browsers / OS #343

Open birdofpreyru opened 2 months ago

birdofpreyru commented 2 months ago

https://github.com/birdofpreyru/react-utils/blob/d83994a5ee0e130fc85ee32d891ec8d19a295da3/src/shared/components/Input/theme.scss#L10-L16

It was noted that in Chrome on Mac & Unbuntu the browser-selected input width, at least in some layouts, ends up different.