Skip to content

Commit

Permalink
style: fix hidden contents
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadoudicko committed Nov 3, 2023
1 parent 867904f commit 2a1a37f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const BrainManagementTabs = (): JSX.Element => {
return (
<div className="flex justify-center w-full">
<Root
className="flex flex-col w-full h-full overflow-hidden bg-white dark:bg-black p-4 md:p-10 max-w-5xl"
className="flex flex-col w-full h-full overflow-scroll bg-white dark:bg-black p-4 md:p-10 max-w-5xl"
value={selectedTab}
>
<List
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/brains-management/library/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const BrainsLibrary = (): JSX.Element => {
const { t } = useTranslation("brain");

return (
<div className="flex flex-1 flex-col items-center">
<div className="flex flex-1 flex-col items-center overflow-scroll">
<div className="flex">
<Field
value={searchBarText}
Expand Down
26 changes: 12 additions & 14 deletions frontend/app/chat/[chatId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,22 @@ const SelectedChatPage = (): JSX.Element => {
const { shouldDisplayFeedCard } = useKnowledgeToFeedContext();

return (
<>
<div
className={`flex flex-col flex-1 items-center justify-stretch w-full h-full overflow-hidden ${
shouldDisplayFeedCard ? "bg-chat-bg-gray" : "bg-white"
} dark:bg-black transition-colors ease-out duration-500`}
data-testid="chat-page"
{...getRootProps()}
>
<div
className={`flex flex-col flex-1 items-center justify-stretch w-full h-full overflow-hidden ${
shouldDisplayFeedCard ? "bg-chat-bg-gray" : "bg-white"
} dark:bg-black transition-colors ease-out duration-500`}
data-testid="chat-page"
{...getRootProps()}
className={`flex flex-col flex-1 w-full max-w-5xl h-full dark:shadow-primary/25 overflow-hidden p-2 sm:p-4 md:p-6 lg:p-8`}
>
<div
className={`flex flex-col flex-1 w-full max-w-5xl h-full dark:shadow-primary/25 overflow-hidden p-2 sm:p-4 md:p-6 lg:p-8`}
>
<div className="flex flex-1 flex-col overflow-y-auto">
<ChatDialogueArea />
</div>
<ActionsBar />
<div className="flex flex-1 flex-col overflow-y-auto">
<ChatDialogueArea />
</div>
<ActionsBar />
</div>
</>
</div>
);
};

Expand Down

0 comments on commit 2a1a37f

Please sign in to comment.