Skip to content

Commit 81a34d2

Browse files
committed
Prevent hover styles on selected file items
1 parent 7fc42f2 commit 81a34d2

1 file changed

Lines changed: 1 addition & 1 deletion

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
margin: 0 10px;
4141
}
4242

43-
&:not(.file--deleted):hover {
43+
&:not(.file--deleted):not(.file--selected):hover {
4444
background-color: var(--vscode-list-hoverBackground);
4545
border-color: var(--cwc-border-color);
4646

0 commit comments

Comments
 (0)