Skip to content

Commit

Permalink
layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncid committed Dec 23, 2024
1 parent 29fdecb commit 0fa9d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const InputBarContainer = ({
return (
<div
id="InputBarContainer"
className="relative flex flex-1 flex-col sm:flex-row"
className="relative flex flex-1 flex-col pt-3 sm:flex-row sm:pt-0"
>
<EditorContent
editor={editor}
Expand Down
6 changes: 3 additions & 3 deletions front/components/sparkle/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ export default function AppLayout({
<main
id={CONVERSATION_PARENT_SCROLL_DIV_ID.page}
className={classNames(
"flex h-full w-full flex-col items-center overflow-y-auto",
"flex h-full w-full flex-col items-center",
titleChildren ? "" : "lg:pt-8"
)}
>
{/* TODO: This should be moved to a TopBar component. */}
<div
className={classNames(
"sticky left-0 top-0 z-30 mb-4 flex w-full flex-col pl-12 lg:pl-0",
"flex w-full flex-col border-b border-primary-50 pl-12 lg:pl-0",
!hideSidebar
? "border-b border-structure-300/30 bg-white/80 backdrop-blur"
: "",
Expand All @@ -144,7 +144,7 @@ export default function AppLayout({
</div>
</div>

<div className="flex h-[calc(100%-5rem)] w-full flex-col items-center px-4 sm:px-8">
<div className="flex h-full w-full flex-col items-center overflow-y-auto px-4 sm:px-8">
{isWideMode ? (
loaded && children
) : (
Expand Down

0 comments on commit 0fa9d6a

Please sign in to comment.