Skip to content

Commit

Permalink
More Minor Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-serna committed Nov 16, 2024
1 parent 0cf5b76 commit 83b65ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/audio/AudioForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function AudioForm({
}, [isSubmitting]);

return (
<div className="flex h-max">
<div className="mb-20 flex h-max">
<CSSTransition
nodeRef={part1Ref}
in={!isPart1Complete}
Expand Down
10 changes: 7 additions & 3 deletions components/AudioMidiVisualizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,13 @@ export default function AudioMidiVisualizer({
isDemo={isDemo}
/>
) : (
<Skeleton className="mb-9 flex h-[300px] items-center justify-center rounded-2xl bg-accent text-card-foreground shadow-lg dark:shadow-stone-950 xl:h-[400px]">
Generating Midi...
</Skeleton>
<div>
<Skeleton className="flex h-[300px] items-center justify-center rounded-2xl bg-accent text-card-foreground shadow-lg dark:shadow-stone-950 xl:h-[400px]">
Generating Midi...
</Skeleton>
<div className="h-[42px]" />{" "}
{/* Compensate for button height + margin */}
</div>
)}
</div>
<div className="mb-8 w-full rounded-2xl bg-accent p-4 shadow-lg">
Expand Down
2 changes: 2 additions & 0 deletions components/PianoRoll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ const PianoRoll: React.FC<PianoRollProps> = ({
{/* Piano Keys Container */}
<div
ref={pianoKeysContainerRef}
tabIndex={-1}
className="piano-keys-container no-scrollbar overflow-y-hidden"
>
<canvas
Expand All @@ -394,6 +395,7 @@ const PianoRoll: React.FC<PianoRollProps> = ({
{/* Notes Container */}
<div
ref={notesContainerRef}
tabIndex={-1}
className="h-full w-full overflow-x-hidden overflow-y-scroll"
onScroll={syncScroll}
>
Expand Down

0 comments on commit 83b65ea

Please sign in to comment.