[pbs-devel] [PATCH proxmox-backup v1 2/3] ui: remove white backgrounds from package versions and system report

Stefan Sterz s.sterz at proxmox.com
Wed Mar 8 17:41:40 CET 2023


removes the style that gets added directly to the element of the
package versions and system report views. this makes them harder to
style through css as normal selectors cannot override the element's
style. since they behave properly without these styles anyway, remove
them.

Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
 www/ServerStatus.js | 1 -
 www/Subscription.js | 1 -
 2 files changed, 2 deletions(-)

diff --git a/www/ServerStatus.js b/www/ServerStatus.js
index 530b1b1d..0c105c63 100644
--- a/www/ServerStatus.js
+++ b/www/ServerStatus.js
@@ -60,7 +60,6 @@ Ext.define('PBS.ServerStatus', {
 	    id: 'pkgversions',
 	    padding: 5,
 	    style: {
-		'background-color': 'white',
 		'white-space': 'pre',
 		'font-family': 'monospace',
 	    },
diff --git a/www/Subscription.js b/www/Subscription.js
index e86d1807..f7b68f94 100644
--- a/www/Subscription.js
+++ b/www/Subscription.js
@@ -42,7 +42,6 @@ Ext.define('PBS.Subscription', {
 	    itemId: 'system-report-view',
 	    scrollable: true,
 	    style: {
-		'background-color': 'white',
 		'white-space': 'pre',
 		'font-family': 'monospace',
 		padding: '5px',
-- 
2.30.2






More information about the pbs-devel mailing list