birdofpreyru/react-utils

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

Opened this issue · 0 comments

&.input {
border: 1px solid gray;
border-radius: 0.3em;
cursor: text;
font: inherit;
outline: none;
padding: 0.3em 0.3em calc(0.3em + 1px);

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