mirror of
https://github.com/xitanggg/open-resume
synced 2024-11-03 09:19:21 +01:00
Fix scrollbar-thumb-gray override issue
This commit is contained in:
parent
1699cddea0
commit
4f8255a2c7
@ -34,8 +34,8 @@ export const ResumeForm = () => {
|
||||
return (
|
||||
<div
|
||||
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",
|
||||
isHover && "!scrollbar-thumb-gray-200"
|
||||
"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" : "scrollbar-thumb-gray-100"
|
||||
)}
|
||||
onMouseOver={() => setIsHover(true)}
|
||||
onMouseLeave={() => setIsHover(false)}
|
||||
|
Loading…
Reference in New Issue
Block a user