From 456e720b756c39408402410f2ad9d421c1a1b01b Mon Sep 17 00:00:00 2001 From: Metaa Date: Sun, 2 Sep 2018 05:13:05 +0200 Subject: [PATCH] [WebUI] Constrain large icons to fit sidebar properly Add CSS background position and size for sidebar icons. Without this change tracker icons that are too big, render as too big. This restrains them to fit into the sidebar list item. --- deluge/ui/web/css/deluge.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index 53a22ffb7..b0a0544c8 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -320,6 +320,8 @@ dl.singleline dd { #sidebar .x-deluge-filter { background-repeat: no-repeat; + background-size: contain; + background-position: left; padding-left: 20px; line-height: 16px; }