pico
pico copied to clipboard
Inline button width
trafficstars
Hello,
Fix for inline buttons width : <input type="button" role="button" ...
Hi @and-cesbo,
Thank you for this PR, and sorry for the delay.
Please read my comment here.
You are right, <button /> are inline elements, but then we will lose the 100% width in these cases:
<form>
<input type="text">
<button type="submit">Action</button>
</form>
I hesitate to apply this change, but in any case, I can only do it for a MAJOR release because it's a breaking change.
Sorry, closed by mistake