mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix: use group-hover for file tree icon color swap at all nesting levels
This commit is contained in:
parent
c34ad7223a
commit
fbe9669c57
2 changed files with 9 additions and 14 deletions
|
|
@ -23,15 +23,3 @@
|
|||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
[data-component="filetree"] .filetree-iconpair .filetree-icon--color {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
[data-component="filetree"]:hover .filetree-iconpair .filetree-icon--color {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-component="filetree"]:hover .filetree-iconpair .filetree-icon--mono {
|
||||
opacity: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue