Commit f7add05
authored
🤖 Make title bar version text selectable (#169)
Fixes an issue where users cannot select/copy the git version text in
the title bar.
## Problem
The title bar has `user-select: none` on the container, preventing users
from selecting the version string to copy it for bug reports or
reference.
## Solution
Added `user-select: text` and `cursor: text` to the `TitleText`
component specifically, while keeping `user-select: none` on the
container for other UI elements (like the date).
## Result
Users can now click and drag to select the git version text (e.g.,
`c354df64-dirty`) and copy it.
_Generated with `cmux`_1 parent 87fbdb0 commit f7add05
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments