Browse Source

Merge pull request #17578 from Chocobo1/webui

Fix icon in WebUI being trimmed
adaptive-webui-19844
Chocobo1 2 years ago committed by GitHub
parent
commit
d173216941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/icons/collapse.svg
  2. 4
      src/webui/www/private/css/Layout.css

2
src/icons/collapse.svg

@ -1 +1 @@ @@ -1 +1 @@
<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m76 62c0-7.731635-6.268365-14-14-14s-14 6.268365-14 14 6.268365 14 14 14 14-6.268365 14-14zm-8.182596-1.196058-4.989519 5.996443a1.0769231 1.0769231 0 0 1 -1.65577 0l-4.989519-5.996443a1.0769231 1.0769231 0 0 1 .827212-1.76548h9.980384a1.0769231 1.0769231 0 0 1 .827212 1.76548z" fill="#1e90ff" stroke-width=".067308" transform="translate(-46 -46)"/></svg>
<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m62 48c-7.731619 0-14 6.268381-14 14s6.268381 14 14 14 14-6.268381 14-14-6.268381-14-14-14zm-6.826172 10.21875h13.652344c1.001007 0 1.540059 1.251253.888672 2.0625l-6.824219 8.5a1.1719094 1.2504823 0 0 1 -1.779297 0l-6.826172-8.5c-.653336-.811247-.112332-2.0625.888672-2.0625z" fill="#1e90ff" transform="translate(-46 -46)"/></svg>

Before

Width:  |  Height:  |  Size: 448 B

After

Width:  |  Height:  |  Size: 423 B

4
src/webui/www/private/css/Layout.css

@ -310,11 +310,11 @@ li.divider { @@ -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);
}

Loading…
Cancel
Save