Skip to content

Commit

Permalink
feat(FilePreview): rename modific
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillDyachkovskiy committed Sep 21, 2023
1 parent c37a875 commit b5492ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FilePreview/FilePreview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $smallRoundedButtonSize: 24px;
cursor: pointer;
}

&_with-hover {
&_hoverable {
background-color: var(--_-color-base-background);
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/FilePreview/FilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function FilePreview({
return (
<div className={cn(null, className)} data-qa={qa}>
<div
className={cn('card', {clickable, 'with-hover': clickable || withActions})}
className={cn('card', {clickable, hoverable: clickable || withActions})}
role={clickable ? 'button' : undefined}
onKeyDown={clickable ? onKeyDown : undefined}
tabIndex={clickable ? 0 : undefined}
Expand Down

0 comments on commit b5492ea

Please sign in to comment.