[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:
parent
ae9bbdbae7
commit
456e720b75
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue