From 4fbbc6cd3ee0698a6c74fb8d0feae528aebd6485 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Wed, 8 Mar 2023 17:41:40 +0100 Subject: [PATCH] ui: remove white backgrounds from package versions and system report 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 --- 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',