Skip to content

Commit 2d5f4dc

Browse files
committed
Reorder hover styles in FileItem module
1 parent 27b364f commit 2d5f4dc

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • packages/ui/src/components/editor/prompt-view/ResponsePreview/components/FileItem

‎packages/ui/src/components/editor/prompt-view/ResponsePreview/components/FileItem/FileItem.module.scss‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
margin: 0 10px;
4141
}
4242

43-
&:not(.file--deleted):not(.file--selected):hover {
44-
background-color: var(--vscode-list-hoverBackground);
45-
border-color: var(--cwc-border-color);
46-
43+
&:not(.file--deleted):hover {
4744
.file__actions {
4845
display: flex;
4946
}
@@ -53,6 +50,11 @@
5350
}
5451
}
5552

53+
&:not(.file--deleted):not(.file--selected):hover {
54+
background-color: var(--vscode-list-hoverBackground);
55+
border-color: var(--cwc-border-color);
56+
}
57+
5658
&--selected {
5759
background-color: var(--vscode-list-inactiveSelectionBackground);
5860

0 commit comments

Comments
 (0)