From b046b4066829549cb398ce30e8a7cfced12f91ee Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 19 Aug 2022 17:08:11 +0800 Subject: [PATCH 1/2] Fix icon in WebUI being trimmed --- src/webui/www/private/css/Layout.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/private/css/Layout.css b/src/webui/www/private/css/Layout.css index 02c8f8e96..0902bc2b1 100644 --- a/src/webui/www/private/css/Layout.css +++ b/src/webui/www/private/css/Layout.css @@ -310,11 +310,11 @@ li.divider { } .panel-collapse { - background: url("../icons/collapse.svg") left top no-repeat; + background: url("../icons/collapse.svg") center/16px no-repeat; } .panel-expand { - background: url("../icons/collapse.svg") left top no-repeat; + background: url("../icons/collapse.svg") center/16px no-repeat; transform: rotate(180deg); } From 04f6ee79c3523ade3ccbd2a84555a3d58a5f4fa9 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 21 Aug 2022 14:50:37 +0800 Subject: [PATCH 2/2] Improve icon readability at small size https://github.com/qbittorrent/qBittorrent/pull/17578#pullrequestreview-1079562121 Co-authored-by: Nowshed H. Imran --- src/icons/collapse.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icons/collapse.svg b/src/icons/collapse.svg index fc9b44d90..1ec41975a 100644 --- a/src/icons/collapse.svg +++ b/src/icons/collapse.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file