File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,18 @@ export default function Modal({ slug, onClose }: { slug: string; onClose: () =>
47
47
48
48
return (
49
49
< div onClick = { onClose } className = "fixed inset-0 z-50 bg-black/75 backdrop-blur-sm flex items-center justify-center p-4" >
50
- < article onClick = { e => e . stopPropagation ( ) } className = "w-full max-w-[90vw] sm:max-w-xl md:max-w-2xl lg:max-w-3xl xl:max-w-4xl max-h-[70vh] overflow-y-auto overscroll-contain bg-neutral-900 rounded-lg shadow-xl ring-1 ring-neutral-700/60" >
50
+ < article
51
+ onClick = { e => e . stopPropagation ( ) }
52
+ className = "
53
+ w-full
54
+ max-w-[90vw] sm:max-w-xl md:max-w-2xl lg:max-w-3xl xl:max-w-4xl
55
+ max-h-[70vh]
56
+ lg:max-h-[80vh]
57
+ xl:max-h-[85vh]
58
+ 2xl:max-h-[90vh]
59
+ overflow-y-auto overscroll-contain
60
+ bg-neutral-900 rounded-lg shadow-xl ring-1 ring-neutral-700/60
61
+ " >
51
62
{ /* Header */ }
52
63
< div
53
64
className = "
@@ -69,7 +80,7 @@ export default function Modal({ slug, onClose }: { slug: string; onClose: () =>
69
80
70
81
{ /* Download (never shrink) */ }
71
82
< DownloadButton
72
- href = { `/Source_Skyboxes_NextJS/skyboxes/${ slug } /downloads /${ slug } .7z` }
83
+ href = { `/Source_Skyboxes_NextJS/skyboxes/${ slug } /download /${ slug } .7z` }
73
84
download
74
85
size = { meta ?. fileSize }
75
86
className = "flex-shrink-0" /* ⬅️ keeps the button’s width */
You can’t perform that action at this time.
0 commit comments