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>
let view = Ext.createWidget('component', {
autoScroll: true,
style: {
- 'background-color': 'white',
'white-space': 'pre',
'font-family': 'monospace',
padding: '5px',
visible: '{!secretEmpty}',
},
style: {
- 'background-color': 'white',
'margin-left': 'auto',
'margin-right': 'auto',
padding: '5px',
autoScroll: true,
padding: 5,
style: {
- 'background-color': 'white',
'white-space': 'pre',
'font-family': 'monospace',
},
html: '{packageList}',
},
style: {
- 'background-color': 'white',
'white-space': 'pre',
'font-family': 'monospace',
},