From 25c72be0dc987172a49f22706efe1e6c2a72a626 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Thu, 9 Mar 2023 09:01:05 +0100 Subject: [PATCH] subscription: remove hard-coded white background MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 this element is white already anyway, so just remove them here. Signed-off-by: Stefan Sterz Reviewed-by: Dominik Csapak Tested-by:  Dominik Csapak --- js/Subscription.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/Subscription.js b/js/Subscription.js index 8d3bc80..2293cdb 100644 --- a/js/Subscription.js +++ b/js/Subscription.js @@ -41,7 +41,6 @@ Ext.define('PMG.Subscription', { itemId: 'system-report-view', scrollable: true, style: { - 'background-color': 'white', 'white-space': 'pre', 'font-family': 'monospace', padding: '5px', -- 2.39.2