ItsJonQ / g2

✨ An experimental reimagining of WordPress components
http://g2-components.com/
MIT License
105 stars 12 forks source link

TextInput: Inner controls rendering strangely on Firefox #148

Closed ItsJonQ closed 4 years ago

ItsJonQ commented 4 years ago
Screen Shot 2020-11-19 at 2 01 57 PM
ItsJonQ commented 4 years ago

Maybe a grid/flex problem?

Screen Shot 2020-11-19 at 2 38 12 PM
ItsJonQ commented 4 years ago

Confirmed. It's a display: flex. Adding min-width: 0 to the inner input resolves this.

As for way this works, I have no idea. It's a display: flex thing I ran into many years ago