Commit ad2db0d
fix(dashboards): dashboard card preview misalignment (#114628)
Closes DAIN-1580
fixes the widget previews in a dashboard card on the All Dashboards
page. I think the grid layout better utilizes indexes instead of the
unique ids and measuring before mount produces the incorrect positions
| Before | After |
|--------|--------|
| <img width="1216" height="714" alt="image"
src="https://github.com/user-attachments/assets/d8708c27-d4e0-4cf8-b0b0-4ae149f003e6"
/>| <img width="1256" height="697" alt="image"
src="https://github.com/user-attachments/assets/689ed1f2-0e94-4f1c-ac47-fe346ac82d9e"
/> |1 parent 4d20b6c commit ad2db0d
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
0 commit comments