mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 18:31:12 -05:00
Fix Uppy modal display issues
This commit is contained in:
@@ -89,6 +89,9 @@ export function UppyPhotoUpload({
|
||||
note: `Images up to ${maxSizeMB}MB, max ${maxFiles} files`,
|
||||
theme: 'auto',
|
||||
closeAfterFinish: true,
|
||||
closeModalOnClickOutside: true,
|
||||
disablePageScrollWhenModalOpen: true,
|
||||
animateOpenClose: true,
|
||||
});
|
||||
|
||||
// Add Image Editor plugin
|
||||
|
||||
@@ -185,11 +185,22 @@ All colors MUST be HSL.
|
||||
|
||||
/* Modal overlay styling */
|
||||
.uppy-Dashboard--modal {
|
||||
z-index: 9999;
|
||||
z-index: 9999 !important;
|
||||
position: fixed !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
width: 100vw !important;
|
||||
height: 100vh !important;
|
||||
}
|
||||
|
||||
.uppy-Dashboard--modal .uppy-Dashboard-overlay {
|
||||
@apply bg-background/80 backdrop-blur-sm;
|
||||
z-index: 9998 !important;
|
||||
position: fixed !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.uppy-Dashboard--modal .uppy-Dashboard-inner {
|
||||
@@ -197,6 +208,21 @@ All colors MUST be HSL.
|
||||
box-shadow: var(--shadow-intense);
|
||||
max-width: 90vw;
|
||||
max-height: 90vh;
|
||||
position: fixed !important;
|
||||
top: 50% !important;
|
||||
left: 50% !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
z-index: 10000 !important;
|
||||
}
|
||||
|
||||
/* Ensure all uppy content stays contained */
|
||||
.uppy-Dashboard--modal * {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.uppy-Dashboard--modal .uppy-Dashboard-AddFiles,
|
||||
.uppy-Dashboard--modal .uppy-Dashboard-dropFilesHereHint {
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
/* Status bar customization */
|
||||
|
||||
Reference in New Issue
Block a user