@layer theme { /* Buttons placed straight in a field, not in a .control-group (app action rows * Enable/Disable, Start/Restart/Stop): inline-block buttons only get whitespace spacing * horizontally, so on wrap the rows collapsed together. Wrapping flex with a real gap. */ .cbi-value-field:has(> .cbi-button) { display: inline-flex; flex-wrap: wrap; gap: var(--fs-space-2); align-items: center; justify-content: flex-end; } /* The button. The native `input` types are in the selector list on purpose: LuCI's own views * always use