fix(plugin): fix SVG viewBox for proper icon scaling

This commit is contained in:
2026-06-28 18:28:28 +08:00
parent f97bc0b8b7
commit 7b2f031c3b
+2 -2
View File
@@ -166,13 +166,13 @@ function Content() {
function DeckyVaultIcon() { function DeckyVaultIcon() {
return ( return (
<svg <svg
viewBox="0 0 1509 1478" viewBox="270 274 1460 1440"
width="24" width="24"
height="24" height="24"
fill="none" fill="none"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<g transform="matrix(0.12,0,0,0.12,50,50)"> <g>
<path <path
d="M1729.5,1227.837L1729.5,1549.724C1729.5,1640.166 1656.072,1713.593 1565.63,1713.593L433.04,1713.593C343.332,1713.593 270.5,1640.762 270.5,1551.053L270.5,1228.241C270.5,1173.107 315.262,1128.345 370.396,1128.345L1630.008,1128.345C1684.919,1128.345 1729.5,1172.926 1729.5,1227.837Z" d="M1729.5,1227.837L1729.5,1549.724C1729.5,1640.166 1656.072,1713.593 1565.63,1713.593L433.04,1713.593C343.332,1713.593 270.5,1640.762 270.5,1551.053L270.5,1228.241C270.5,1173.107 315.262,1128.345 370.396,1128.345L1630.008,1128.345C1684.919,1128.345 1729.5,1172.926 1729.5,1227.837Z"
fill="white" fill="white"