[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.
This commit is contained in:
Metaa 2018-09-02 05:13:05 +02:00 committed by Calum Lind
parent ae9bbdbae7
commit 456e720b75
1 changed files with 2 additions and 0 deletions

View File

@ -320,6 +320,8 @@ dl.singleline dd {
#sidebar .x-deluge-filter { #sidebar .x-deluge-filter {
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain;
background-position: left;
padding-left: 20px; padding-left: 20px;
line-height: 16px; line-height: 16px;
} }