File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -550,8 +550,15 @@ export default function FileTree(props: {
550550 </ Match >
551551 < Match when = { ! node . ignored } >
552552 < span class = "filetree-iconpair size-4" >
553- < FileIcon node = { node } class = "size-4 filetree-icon filetree-icon--color" />
554- < FileIcon node = { node } class = "size-4 filetree-icon filetree-icon--mono" mono />
553+ < FileIcon
554+ node = { node }
555+ class = "size-4 filetree-icon filetree-icon--color opacity-0 group-hover/filetree:opacity-100"
556+ />
557+ < FileIcon
558+ node = { node }
559+ class = "size-4 filetree-icon filetree-icon--mono group-hover/filetree:opacity-0"
560+ mono
561+ />
555562 </ span >
556563 </ Match >
557564 </ Switch >
Original file line number Diff line number Diff line change 2323 position : absolute;
2424 inset : 0 ;
2525}
26-
27- [data-component = "filetree" ] .filetree-iconpair .filetree-icon--color {
28- opacity : 0 ;
29- }
30-
31- [data-component = "filetree" ]: hover .filetree-iconpair .filetree-icon--color {
32- opacity : 1 ;
33- }
34-
35- [data-component = "filetree" ]: hover .filetree-iconpair .filetree-icon--mono {
36- opacity : 0 ;
37- }
You can’t perform that action at this time.
0 commit comments