Fixed the /oscilloscope view to show the correct fields at right locations

This commit is contained in:
JorySeverijnse 2025-12-21 19:51:34 +01:00
parent f3263cd29e
commit a7d5bc436e
2 changed files with 11 additions and 11 deletions

View File

@ -31,7 +31,7 @@ export function AudioUploader({ onFileSelect, isLoading, fileName }: AudioUpload
return (
<div
className={cn(
"relative border-2 border-dashed border-primary/40 rounded-lg p-8 text-center",
"relative border-2 border-dashed border-primary/40 rounded-lg py-24 px-8 text-center",
"hover:border-primary/70 transition-all duration-300 cursor-pointer",
"bg-secondary/20 hover:bg-secondary/30",
isLoading && "opacity-50 pointer-events-none"

View File

@ -279,6 +279,14 @@ export function Oscilloscope() {
onSeek={handleSeek}
liveSettings={liveSettings}
/>
{/* Audio Uploader - below controls on desktop */}
<div className="w-full mt-4">
<AudioUploader
onFileSelect={handleFileSelect}
isLoading={isLoading}
fileName={fileName}
/>
</div>
{/* Audio Playback Controls */}
{audioData && originalFile && (
@ -344,14 +352,6 @@ export function Oscilloscope() {
onToggleMic={toggleMic}
/>
{/* Audio Uploader - below controls on desktop */}
<div className="mt-4">
<AudioUploader
onFileSelect={handleFileSelect}
isLoading={isLoading}
fileName={fileName}
/>
</div>
</div>
</div>