Repository navigation
Commit 88a7ab2
fix(app): show the pointer cursor on Work's mount buttons
Both ways into the Mount project dialog from the sidebar looked unclickable:
the icon button beside Projects and the prompt shown while a sandbox has no
folders both kept the arrow cursor on hover.
The icon button needs the important modifier. icon-button-v2.css sets
`cursor: default` on every icon button, and that file is unlayered while
Tailwind's utilities live in @layer utilities — unlayered CSS wins over any
layered rule regardless of specificity, so a plain `cursor-pointer` would have
been silently dropped. `enabled:` keeps the disabled state on the not-allowed
cursor the variant already gives it, which is what the button shows while its
sandbox is unhealthy. The prompt is a plain button with no component CSS
competing, so it needs no modifier.
Work only: this is the button that mounts a host folder into the sandbox. The
same element on Code is upstream's Add project, which is left alone.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 629a245 commit 88a7ab2
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments