Commit 2b345db
committed
fix(admin): respect track timezone in map date label and align preview radius
- Render MapBlock date using the track's timezoneOffsetMinutes so cross-timezone viewers no longer see the previous day.
- Drop the redundant rounded-sm wrapper around the InsertMapDialog preview so the figure's rounded-lg corners are no longer clipped.1 parent 6d25ceb commit 2b345db
2 files changed
Lines changed: 16 additions & 6 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
| 245 | + | |
248 | 246 | | |
249 | 247 | | |
250 | 248 | | |
| |||
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
248 | | - | |
| 253 | + | |
| 254 | + | |
249 | 255 | | |
250 | | - | |
| 256 | + | |
251 | 257 | | |
252 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
253 | 265 | | |
254 | 266 | | |
255 | 267 | | |
| |||
0 commit comments