Skip to content

Commit

Permalink
[bugfix] Incorrect text colors on Models elements with light theme in…
Browse files Browse the repository at this point in the history
… download modal
  • Loading branch information
Zagrios committed Aug 8, 2023
1 parent 1305756 commit b169b04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function ModelItemElement<T = unknown>(props: Props<T>) {
};

return (
<motion.li className={`relative flex-grow min-w-[16rem] h-64 cursor-pointer ${props.className ?? ""}`} onHoverStart={() => setHovered(() => true)} onHoverEnd={() => setHovered(() => false)}>
<motion.li className={`relative flex-grow min-w-[16rem] h-64 cursor-pointer text-gray-200 ${props.className ?? ""}`} onHoverStart={() => setHovered(() => true)} onHoverEnd={() => setHovered(() => false)}>
<GlowEffect visible={props.selected || hovered} />
<div className="absolute top-0 left-0 w-full h-full rounded-lg overflow-hidden blur-none bg-black shadow-sm shadow-black">
<div ref={ref} className="contents">
Expand Down

0 comments on commit b169b04

Please sign in to comment.