Skip to content

Commit a8e029b

Browse files
committed
tailwind can be a bit wordy sometime
1 parent ac8a4ff commit a8e029b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/react/src/components/layout/SelectionFooter.tsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ const SelectedVideosModal = ({
4949

5050
return (
5151
<Dialog open={open} onOpenChange={onOpenChange}>
52-
<DialogContent className="flex max-h-[50vh] min-w-min max-w-[min(500px,calc(100vw-40px))] flex-col gap-0 overflow-y-auto overflow-x-hidden px-0 py-6">
52+
<DialogContent
53+
className="flex flex-col gap-0 overflow-y-auto overflow-x-hidden px-0 py-6"
54+
style={{
55+
maxHeight: "50vh",
56+
minWidth: "min-content",
57+
maxWidth: "min(500px, calc(100vw - 40px))",
58+
}}
59+
>
5360
{selectedVideos.map((video, idx) => (
5461
<div
5562
key={video.id}

0 commit comments

Comments
 (0)