Skip to content

Commit 984c1ea

Browse files
committed
Adjust minimum cpc scale to 0.8
1 parent f0eac14 commit 984c1ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎compact-power-card.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ class CompactPowerCard extends (window.LitElement ||
14551455
}
14561456
const baseWidth = 512; // match viewBox width
14571457
const widthScale = hostWidth / baseWidth;
1458-
const scale = Math.max(0.7, Math.min(1, widthScale));
1458+
const scale = Math.max(0.8, Math.min(1.0, widthScale));
14591459
this.style.setProperty("--cpc-scale", scale.toFixed(3));
14601460
}
14611461

0 commit comments

Comments
 (0)