luci-base: luci.js: remove wrong CSS class from page footer
authorJo-Philipp Wich <jo@mein.io>
Mon, 16 May 2022 14:04:56 +0000 (16:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Dec 2022 09:46:12 +0000 (10:46 +0100)
The `control-group` class is meant for gapless grouping of inputs with
buttons, while the page actions are just distinct buttons in a row.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4e090e38d2cb606936768847ab0f5526f95be793)

modules/luci-base/htdocs/luci-static/resources/luci.js

index 529a33ca3b64977f4143337826c265ba5235127e..ffa1c002b8a5d719647c00c4da660ae6f9703341 100644 (file)
                        }).render() : E([]);
 
                        if (this.handleSaveApply || this.handleSave || this.handleReset) {
-                               footer.appendChild(E('div', { 'class': 'cbi-page-actions control-group' }, [
+                               footer.appendChild(E('div', { 'class': 'cbi-page-actions' }, [
                                        saveApplyBtn, ' ',
                                        this.handleSave ? E('button', {
                                                'class': 'cbi-button cbi-button-save',