Skip to content

Commit 8546914

Browse files
committed
Add max height to svg
1 parent c55e36c commit 8546914

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/EnumerationDemo.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,11 @@ const EnumerationDemo: React.FC<EnumerationDemoProps> = ({
540540
</CardTitle>
541541
</CardHeader>
542542
<CardContent>
543-
<svg viewBox='0 0 400 400' className='w-full mb-4'>
543+
<svg
544+
viewBox='0 0 400 400'
545+
className='w-full mb-4'
546+
style={{ maxHeight: '60vh' }}
547+
>
544548
{columns.map((col, i) => (
545549
<text
546550
key={i}

0 commit comments

Comments
 (0)