mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 04:55:07 +01:00
Fix themepart click
This commit is contained in:
parent
9f65821fce
commit
258b3be687
@ -36,6 +36,7 @@ function ThemePreview(props: {
|
|||||||
{/* Little card thing */}
|
{/* Little card thing */}
|
||||||
<div
|
<div
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
|
onKeyUp={(e) => e.key === "Enter" && e.currentTarget.click()}
|
||||||
className={classNames(
|
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",
|
"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
|
props.active
|
||||||
|
Loading…
Reference in New Issue
Block a user