Skip to content

Commit 49f88b9

Browse files
committed
fix : gradient preview not showing on mobile
1 parent d7cae60 commit 49f88b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/showcase/effects/gradients/CustomGradientGenerator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ const CustomGradientGenerator = () => {
163163
</Card>
164164
{/* Gradient Preview */}
165165
<Card
166-
className="group relative w-full overflow-hidden rounded-lg p-0"
167-
style={{ background: gradient }}
166+
className="group relative w-full overflow-hidden rounded-lg p-0"
167+
style={{ background: gradient ,minHeight: '200px' }}
168168
>
169169
<CardContent
170170
className="absolute bottom-0 right-0 flex items-center justify-center"

0 commit comments

Comments
 (0)