Repository navigation
Commit 6e38542
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 resize1 parent 68bd8ec commit 6e38542
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments