Commit 3939f6e
committed
fix(toolbar): Center icons in the toolbar buttons
Only `a.cesium-toolbar-button` was flex-centered, so the `<button>`
variants let their icons drift: Nuxt UI renders icons as block-level
SVGs that hug the button's left edge, and the custom background icons
leaned on manual margin nudges. Flex-center every app toolbar button
(scoped to #toolbarLeft / #toolbarRight so Cesium's own buttons stay
untouched) and drop the now-redundant margin hacks. All toolbar icons
now sit dead-centered.
Assisted-by: ClaudeCode:claude-opus-4-81 parent 44fdab5 commit 3939f6e
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | | - | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
126 | | - | |
127 | | - | |
128 | 129 | | |
0 commit comments