Spaces:
Running
Running
Fix for long captions
#6
by
JonathanLand
- opened
src/components/LiveCaption.tsx
CHANGED
@@ -19,7 +19,7 @@ export default function LiveCaption({ caption, isRunning, error }: LiveCaptionPr
|
|
19 |
return (
|
20 |
<GlassContainer
|
21 |
bgColor={error ? GLASS_EFFECTS.COLORS.ERROR_BG : GLASS_EFFECTS.COLORS.DEFAULT_BG}
|
22 |
-
className={`w-150 h-45 rounded-2xl shadow-2xl hover:scale-105 transition-transform duration-200 ${
|
23 |
error ? "border border-red-500/30" : ""
|
24 |
}`}
|
25 |
>
|
|
|
19 |
return (
|
20 |
<GlassContainer
|
21 |
bgColor={error ? GLASS_EFFECTS.COLORS.ERROR_BG : GLASS_EFFECTS.COLORS.DEFAULT_BG}
|
22 |
+
className={`w-150 min-h-45 rounded-2xl shadow-2xl hover:scale-105 transition-transform duration-200 ${
|
23 |
error ? "border border-red-500/30" : ""
|
24 |
}`}
|
25 |
>
|