feat: add support for thumbhash

This commit is contained in:
codytseng 2025-12-12 10:23:02 +08:00
parent f6f974adc6
commit 51fc7d4c05
6 changed files with 101 additions and 29 deletions

View file

@ -57,8 +57,8 @@ export default function Collapsible({
>
{children}
{shouldCollapse && !expanded && (
<div className="absolute bottom-0 h-40 w-full bg-gradient-to-b from-transparent to-background/90 flex items-end justify-center pb-4">
<div className="bg-background rounded-md">
<div className="absolute bottom-0 h-40 w-full z-10 bg-gradient-to-b from-transparent to-background/90 flex items-end justify-center pb-4">
<div className="bg-background rounded-lg">
<Button
className="bg-foreground hover:bg-foreground/80"
onClick={(e) => {