From 3e18b1d30c95b3b5e73603aa93c82de343f66da7 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 9 Aug 2024 23:49:57 +0800 Subject: [PATCH] WebUI: remove outdated CSS property WebUI already has the standard counterparts. --- src/webui/www/private/css/style.css | 4 ---- src/webui/www/private/scripts/contextmenu.js | 1 - src/webui/www/private/views/searchplugins.html | 4 ---- 3 files changed, 9 deletions(-) diff --git a/src/webui/www/private/css/style.css b/src/webui/www/private/css/style.css index 5fc361c4a..d5c1f42e6 100644 --- a/src/webui/www/private/css/style.css +++ b/src/webui/www/private/css/style.css @@ -678,15 +678,11 @@ td.statusBarSeparator { } #searchResultsTableContainer { - -moz-height: calc(100% - 177px); - -webkit-height: calc(100% - 177px); height: calc(100% - 177px); overflow: auto; } #searchResultsTableDiv { - -moz-height: calc(100% - 26px) !important; - -webkit-height: calc(100% - 26px) !important; height: calc(100% - 26px) !important; } diff --git a/src/webui/www/private/scripts/contextmenu.js b/src/webui/www/private/scripts/contextmenu.js index 614bae0f4..979766ba6 100644 --- a/src/webui/www/private/scripts/contextmenu.js +++ b/src/webui/www/private/scripts/contextmenu.js @@ -174,7 +174,6 @@ window.qBittorrent.ContextMenu ??= (() => { addTarget: function(t) { // prevent long press from selecting this text t.style.userSelect = "none"; - t.style["-webkit-user-select"] = "none"; this.targets[this.targets.length] = t; this.setupEventListeners(t); diff --git a/src/webui/www/private/views/searchplugins.html b/src/webui/www/private/views/searchplugins.html index b795c47c8..20582b196 100644 --- a/src/webui/www/private/views/searchplugins.html +++ b/src/webui/www/private/views/searchplugins.html @@ -17,8 +17,6 @@ #searchPluginsTable { width: 100%; height: calc(100% - 150px); - -moz-height: calc(100% - 150px); - -webkit-height: calc(100% - 150px); } #searchPluginsTable .dynamicTable { @@ -27,8 +25,6 @@ #searchPluginsTableDiv { height: calc(100% - 26px); - -moz-height: calc(100% - 26px); - -webkit-height: calc(100% - 26px); } #dynamicTableFixedHeaderDiv {