mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 03:37:58 +00:00
subscription/summary/backup: stop setting the background color
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>
This commit is contained in:
parent
6bf5e1256e
commit
fbe9ee7210
@ -116,7 +116,6 @@ Ext.define('Proxmox.node.APT', {
|
||||
let view = Ext.createWidget('component', {
|
||||
autoScroll: true,
|
||||
style: {
|
||||
'background-color': 'white',
|
||||
'white-space': 'pre',
|
||||
'font-family': 'monospace',
|
||||
padding: '5px',
|
||||
|
@ -224,7 +224,6 @@ Ext.define('Proxmox.window.AddTotp', {
|
||||
visible: '{!secretEmpty}',
|
||||
},
|
||||
style: {
|
||||
'background-color': 'white',
|
||||
'margin-left': 'auto',
|
||||
'margin-right': 'auto',
|
||||
padding: '5px',
|
||||
|
@ -74,7 +74,6 @@ Ext.define('Proxmox.window.DiskSmart', {
|
||||
autoScroll: true,
|
||||
padding: 5,
|
||||
style: {
|
||||
'background-color': 'white',
|
||||
'white-space': 'pre',
|
||||
'font-family': 'monospace',
|
||||
},
|
||||
|
@ -45,7 +45,6 @@ Ext.define('Proxmox.window.PackageVersions', {
|
||||
html: '{packageList}',
|
||||
},
|
||||
style: {
|
||||
'background-color': 'white',
|
||||
'white-space': 'pre',
|
||||
'font-family': 'monospace',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user