Exclude header from audit dropzone overlay
Offset the fixed overlay with top-12 so the navigation bar remains visible and unobstructed during file drag. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -184,7 +184,7 @@ export default function AuditsPage(props: Props) {
|
||||
{isDragging && canCreateAudit && (
|
||||
<div
|
||||
{...getRootProps()}
|
||||
className="border-primary bg-primary/5 pointer-events-auto fixed inset-0 z-40 flex flex-col items-center justify-center border-2 border-dashed"
|
||||
className="border-primary bg-primary/5 pointer-events-auto fixed inset-0 top-12 z-40 flex flex-col items-center justify-center border-2 border-dashed"
|
||||
>
|
||||
<input {...getInputProps()} />
|
||||
<IconUpload className="text-primary mb-2 size-8" />
|
||||
|
||||
Reference in New Issue
Block a user