]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: make tree settings button like regular buttons
authorStefan Sterz <s.sterz@proxmox.com>
Fri, 10 Mar 2023 13:08:37 +0000 (14:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Mar 2023 16:53:13 +0000 (17:53 +0100)
the "proxmox-inline-button" class is redundant in the crisp theme as
it only sets the buttons text to black. we mainly use that class for
"help" buttons. this is useful in the dark theme, because we want help
buttons to stand out a bit so (possibly confused) users are drawn to
them more easily. removing the class here doesn't change anything for
"crisp", but makes the dark theme appear more consistent. also fixes
up an unnecessary space.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
www/manager6/Workspace.js

index 78ab37b6bff262d198fa6447d9ba551b6af4a916..8cee36381e186e6bdfa9ce7b5409b2007a2d9b15 100644 (file)
@@ -469,8 +469,8 @@ Ext.define('PVE.StdWorkspace', {
                                selview,
                                {
                                    xtype: 'button',
-                                   cls: 'x-btn-default-toolbar-small proxmox-inline-button',
-                                   iconCls: 'fa fa-fw fa-gear x-btn-icon-el-default-toolbar-small ',
+                                   cls: 'x-btn-default-toolbar-small',
+                                   iconCls: 'fa fa-fw fa-gear x-btn-icon-el-default-toolbar-small',
                                    handler: () => {
                                        Ext.create('PVE.window.TreeSettingsEdit', {
                                            autoShow: true,