observablehq / inputs

Better input elements
https://observablehq.com/framework/lib/inputs
ISC License
125 stars 34 forks source link

Wrap buttons in container element #218

Open mootari opened 2 years ago

mootari commented 2 years ago

In Inputs.button(), <button> elements are currently siblings of the <label> element:

image

This makes it close to impossible to wrap multiple buttons without having them flow below the label:

image

Please consider nesting all buttons in an additional div.