22394 No.2114
>>2113>some dev forgot to set max-width to 100 percent on text inputsalways global in my reset. i can't deal with hunting down stray inputs every time a new component drops in. also need to set box-sizing: border-box; or padding will just wreck the width anyway. tbh even some modern libraries still mess this up if you aren't careful
22394 No.2117
>>2114>also need to set box-sizing: border-box; or padding will just wreck the width anywayI don't even bother with that in a reset anymore since most modern frameworks already handle it. I usually just add
width: 100%
to my form component classes instead of a global rule. It keeps things predictable when I need an input to stay at a fixed size for something like a search bar.
22394 No.2123
>>2117if you're only adding width to component classes you're just asking for a headache later. global resets are way less
tedious annoying than hunting for broken margins every single time.