chore: oxc
This commit is contained in:
@@ -233,7 +233,7 @@ export default function Component({
|
||||
{/* Drop area - uses finalImageUrl */}
|
||||
<button
|
||||
aria-label={finalImageUrl ? "Change image" : "Upload image"}
|
||||
className="relative flex size-24 sm:size-32 items-center justify-center overflow-hidden rounded-lg border border-input border-dashed outline-none transition-colors hover:bg-accent/50 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-disabled:pointer-events-none has-[img]:border-none has-disabled:opacity-50 data-[dragging=true]:bg-accent/50"
|
||||
className="relative flex size-24 items-center justify-center overflow-hidden rounded-lg border border-dashed border-input transition-colors outline-none hover:bg-accent/50 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-disabled:pointer-events-none has-disabled:opacity-50 has-[img]:border-none data-[dragging=true]:bg-accent/50 sm:size-32"
|
||||
data-dragging={isDragging || undefined}
|
||||
onClick={openFileDialog}
|
||||
onDragEnter={handleDragEnter}
|
||||
@@ -261,7 +261,7 @@ export default function Component({
|
||||
{finalImageUrl && (
|
||||
<Button
|
||||
aria-label="Remove image"
|
||||
className="-top-1 -right-1 absolute size-6 rounded-full border-2 border-background shadow-none focus-visible:border-background"
|
||||
className="absolute -top-1 -right-1 size-6 rounded-full border-2 border-background shadow-none focus-visible:border-background"
|
||||
onClick={handleRemoveFinalImage}
|
||||
size="icon"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user