Skip to content

Commit

Permalink
fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Nov 20, 2024
1 parent 7d4c4ea commit 1a564b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions enjoy/src/renderer/components/messages/assistant-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ export const AssistantMessageComponent = (props: {
<SheetContent
aria-describedby={undefined}
side="bottom"
className="h-content p-0 flex flex-col"
className="h-content p-0 flex flex-col gap-0"
displayClose={false}
onPointerDownOutside={(event) => event.preventDefault()}
onInteractOutside={(event) => event.preventDefault()}
>
<SheetHeader className="flex items-center justify-center">
<SheetHeader className="flex items-center justify-center space-y-0 py-1">
<SheetTitle className="sr-only">{t("shadow")}</SheetTitle>
<SheetClose>
<ChevronDownIcon />
Expand Down
2 changes: 1 addition & 1 deletion enjoy/src/renderer/context/chat-session-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export const ChatSessionProvider = ({
onPointerDownOutside={(event) => event.preventDefault()}
onInteractOutside={(event) => event.preventDefault()}
>
<SheetHeader className="flex items-center justify-center">
<SheetHeader className="flex items-center justify-center space-y-0 py-1">
<SheetTitle className="sr-only">Shadow</SheetTitle>
<SheetDescription className="sr-only"></SheetDescription>
<SheetClose>
Expand Down
6 changes: 3 additions & 3 deletions enjoy/src/renderer/context/course-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,20 @@ export const CourseProvider = ({
>
<SheetContent
side="bottom"
className="max-h-content p-0 flex flex-col"
className="h-content p-0 flex flex-col gap-0"
displayClose={false}
onPointerDownOutside={(event) => event.preventDefault()}
onInteractOutside={(event) => event.preventDefault()}
>
<SheetHeader className="flex items-center justify-center">
<SheetHeader className="flex items-center justify-center space-y-0 py-1">
<SheetTitle className="sr-only">Shadow</SheetTitle>
<SheetDescription className="sr-only"></SheetDescription>
<SheetClose>
<ChevronDownIcon />
</SheetClose>
</SheetHeader>

<AudioPlayer id={shadowing?.id} />
{shadowing && <AudioPlayer id={shadowing.id} />}
</SheetContent>
</Sheet>
</MediaShadowProvider>
Expand Down

0 comments on commit 1a564b8

Please sign in to comment.