mirror of
https://github.com/JorySeverijnse/ui-fixer-supreme.git
synced 2026-01-29 16:18:38 +00:00
Fixed the /oscilloscope view to show the correct fields at right locations
This commit is contained in:
parent
f3263cd29e
commit
a7d5bc436e
@ -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"
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user