update statsgrid

This commit is contained in:
Juergen Kunz
2025-06-27 13:44:36 +00:00
parent bd10b4e64d
commit 4146a348ab
2 changed files with 17 additions and 14 deletions

View File

@ -226,8 +226,9 @@ export class DeesStatsGrid extends DeesElement {
.gauge-container {
width: 140px;
height: 70px;
height: 80px;
position: relative;
margin-top: -10px;
}
.gauge-svg {
@ -473,10 +474,10 @@ export class DeesStatsGrid extends DeesElement {
// SVG dimensions and calculations
const width = 140;
const height = 70;
const height = 80;
const strokeWidth = 8;
const padding = strokeWidth / 2 + 2;
const radius = 40;
const radius = 48;
const centerX = width / 2;
const centerY = height - padding;