]> git.proxmox.com Git - pve-manager.git/commitdiff
subscription/summary/backup: stop setting the background color
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 8 Mar 2023 16:40:08 +0000 (17:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Mar 2023 16:55:41 +0000 (17:55 +0100)
setting the background color in js code adds that property as a style
attribute to the element. that makes it hard to alter later via css
and makes it hard to dynamically change the color e.g. if we want to
add different themes. the background color for these elements are
white already anyway, so just remove them here.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
www/manager6/node/Subscription.js
www/manager6/node/Summary.js
www/manager6/window/BackupConfig.js

index 3b53c7e208b4581bacc63b0377c09392d421e37e..5ca36d428eea4d8059be400e80eaa6ae47d994e6 100644 (file)
@@ -40,7 +40,6 @@ Ext.define('PVE.node.Subscription', {
            itemId: 'system-report-view',
            scrollable: true,
            style: {
-               'background-color': 'white',
                'white-space': 'pre',
                'font-family': 'monospace',
                padding: '5px',
index 320f2247f1a9a9155a77fc9189e4d1de2dc6fc9d..03512d70826a79b9e83570b5f2d50745424ed37b 100644 (file)
@@ -18,7 +18,6 @@ Ext.define('PVE.node.Summary', {
            id: 'pkgversions',
            padding: 5,
            style: {
-               'background-color': 'white',
                'white-space': 'pre',
                'font-family': 'monospace',
            },
index ca61b1e4e140ecd4b08350cf4981dc0eeaa4d845..48649efceca8e98d133cebc4cb5c3b7b6ab08ef9 100644 (file)
@@ -10,7 +10,6 @@ Ext.define('PVE.window.BackupConfig', {
        itemId: 'configtext',
        autoScroll: true,
        style: {
-           'background-color': 'white',
            'white-space': 'pre',
            'font-family': 'monospace',
            padding: '5px',