1
mirror of https://github.com/xitanggg/open-resume synced 2025-01-05 08:36:22 +01:00

Fix scrollbar-thumb-gray override issue

This commit is contained in:
Xitang 2024-10-29 00:41:39 -07:00
parent 1699cddea0
commit 4f8255a2c7

View File

@ -34,8 +34,8 @@ export const ResumeForm = () => {
return ( return (
<div <div
className={cx( className={cx(
"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", "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",
isHover && "!scrollbar-thumb-gray-200" isHover ? "scrollbar-thumb-gray-200" : "scrollbar-thumb-gray-100"
)} )}
onMouseOver={() => setIsHover(true)} onMouseOver={() => setIsHover(true)}
onMouseLeave={() => setIsHover(false)} onMouseLeave={() => setIsHover(false)}