Fix themepart click

This commit is contained in:
Jip Fr 2023-11-21 19:35:47 +01:00
parent 9f65821fce
commit 258b3be687

View File

@ -36,6 +36,7 @@ function ThemePreview(props: {
{/* Little card thing */}
<div
tabIndex={0}
onKeyUp={(e) => e.key === "Enter" && e.currentTarget.click()}
className={classNames(
"tabbable scroll-mt-32 w-full h-32 relative rounded-lg border bg-gradient-to-br from-themePreview-primary/20 to-themePreview-secondary/10 bg-clip-content transition-colors duration-150",
props.active