Skip to content

Commit 6e38542

Browse files
authored
Update xpower-flow-card.js
## v1.3.42 **Frame scales with the card** - The frame stroke now scales with the card's width, like the rest of the SVG content: about 0.75px on a phone, 1px on a desktop, 2px on a TV, capped at 3px (never below 1px on standard-density screens). On large screens the fixed-width line was nearly invisible - An explicit `--xpf-frame-width` (theme or card-mod) still takes precedence - The density media query from v1.3.44/45 is removed; the width is now computed in `_ringPath()` and recomputed on every resize
1 parent 68bd8ec commit 6e38542

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎xpower-flow-card.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// xPower Flow Card — Modern power flow card for solar hybrid inverters
22
// Copyright (C) 2025 BTNBx — MIT License
3-
const V='1.3.41';
3+
const V='1.3.42';
44

55
/* ═══════════════════════════════════════
66
CHANGELOG — full history in CHANGELOG.md
77
═══════════════════════════════════════
8-
## v1.3.41
8+
## v1.3.42
99
1010
**Frame scales with the card**
1111

0 commit comments

Comments
 (0)