We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2de06b commit e940bb8Copy full SHA for e940bb8
src/core/elements.ts
@@ -141,19 +141,19 @@ export function TotalSolved(total: number, solved: number) {
141
new Item("circle", {
142
id: "total-solved-bg",
143
style: {
144
- cx: 40,
145
- cy: 40,
146
- r: 40,
+ cx: "40px",
+ cy: "40px",
+ r: "40px",
147
stroke: "var(--bg-1)",
148
"stroke-width": "6px",
149
},
150
}),
151
152
id: "total-solved-ring",
153
154
155
156
157
transform: "rotate(-90deg)",
158
"transform-origin": "40px 40px",
159
"stroke-dasharray": `${(80 * Math.PI * solved) / total} 10000`,
0 commit comments