Skip to content

Commit

Permalink
Fix Conversation wide mode (#5782)
Browse files Browse the repository at this point in the history
* Fix Conversation wide mode

* ✨

* 🔨

* Revert "🔨"

This reverts commit 92f2bb3.

* Fix navigation bar chevron
  • Loading branch information
flvndvd authored Jun 21, 2024
1 parent 2d98bf2 commit 89c2861
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function AssistantBrowserContainer({
<div
id="assistants-lists-container"
className={classNames(
"duration-400 flex h-full w-full flex-col gap-3 pt-9 transition-opacity",
"duration-400 flex h-full w-full max-w-4xl flex-col gap-3 pt-9 transition-opacity",
isLoading ? "opacity-0" : "opacity-100"
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ export default function ConversationLayout({
<AppLayout
subscription={subscription}
owner={owner}
// TODO(2024-06-20 flav) Consider removing.
isWideMode={!!conversation}
isWideMode
pageTitle={
conversation?.title
? `Dust - ${conversation?.title}`
Expand Down
2 changes: 1 addition & 1 deletion front/components/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export function Navigation({
<div
className={classNames(
"fixed z-40 hidden lg:top-1/2 lg:flex",
isNavigationBarOpen ? "lg:px-80" : ""
isNavigationBarOpen ? "lg:ml-80" : ""
)}
>
<ToggleNavigationSidebarButton
Expand Down

0 comments on commit 89c2861

Please sign in to comment.