Skip to content

Commit 4f8255a

Browse files
committed
Fix scrollbar-thumb-gray override issue
1 parent 1699cdd commit 4f8255a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/components/ResumeForm/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export const ResumeForm = () => {
3434
return (
3535
<div
3636
className={cx(
37-
"flex justify-center scrollbar-thin scrollbar-track-gray-100 scrollbar-thumb-gray-100 md:h-[calc(100vh-var(--top-nav-bar-height))] md:justify-end md:overflow-y-scroll",
38-
isHover && "!scrollbar-thumb-gray-200"
37+
"flex justify-center scrollbar-thin scrollbar-track-gray-100 md:h-[calc(100vh-var(--top-nav-bar-height))] md:justify-end md:overflow-y-scroll",
38+
isHover ? "scrollbar-thumb-gray-200" : "scrollbar-thumb-gray-100"
3939
)}
4040
onMouseOver={() => setIsHover(true)}
4141
onMouseLeave={() => setIsHover(false)}

0 commit comments

Comments
 (0)