almond.css
almond.css copied to clipboard
<input type="text"> sizes don't work
Describe the bug If I specify a size for an text input, it is being ignored and the text field stays at the same width.
Steps to reproduce
- Use
<input type="text" size="5">
next to<input type="text" size="20">
with and without the stylesheet. - While the sizes are different without a stylesheet (tested in Firefox, according to MDN it's a common feature) they stay the same with Almond.css enabled
Expected behavior The width should be different, depending on the given size.
Screenshots
Input fields without Almond.
Input fields with Almond.
Devices Desktop:
- OS: Windows
- Browser: Firefox
- Version: 97
This is a great catch. I think it's because I set a min-width in the input. Let me double-check the code and I'll get a fix out. Thanks for reporting the issue.