Commit 6f848c7
committed
Live Activity: move preset label to top-leading so it doesn't overlap y-axis labels
The chart's y-axis labels (175/150/125/100) render on the right side of
the plot, but the preset-name label (e.g. '🚴 Biking') was also at
top-trailing, so they crowded the same top-right corner. Switched the
ZStack alignment to .leading and updated the label padding from
trailing→leading so the preset sits in the empty top-left area.1 parent 522f8c1 commit 6f848c7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments