Skip to content

Commit

Permalink
🩹 μ‹œκ°„ν‘œμ—μ„œ hoverν–ˆμ„ λ•Œ κ°•μ˜λͺ©λ‘μ— μŠ€νƒ€μΌ 반영 μ•ˆλ˜λŠ” 이슈 ν”½μŠ€ (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 authored May 26, 2024
1 parent 1443acb commit d3e9c40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export const MainLectureListitem = ({

return (
<div
className={clsx(styles.wrapper, vm.wrapper.isClickableStyle && styles.clickable)}
className={clsx(
styles.wrapper,
vm.wrapper.isClickableStyle && styles.clickable,
vm.wrapper.isHoveredStyle && styles.hovered,
)}
onMouseEnter={vm.wrapper.onMouseEnter}
onMouseLeave={vm.wrapper.onMouseLeave}
onClick={vm.wrapper.onClick}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
flex-direction: column;
transition: background-color 0.1s;
}
.wrapper:hover {
.wrapper.hovered {
background-color: #ddd;
}
.wrapper.clickable {
Expand Down

0 comments on commit d3e9c40

Please sign in to comment.