Skip to content

Commit 3730ec5

Browse files
changes in width
1 parent 15fa53f commit 3730ec5

3 files changed

Lines changed: 27 additions & 3 deletions

File tree

App/frontend-app/src/components/chat/chatRoom.module.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@
2121
}
2222
}
2323

24+
/* Global overrides to ensure full width */
25+
:global(html), :global(body), :global(#root) {
26+
width: 100% !important;
27+
max-width: 100% !important;
28+
margin: 0 !important;
29+
padding: 0 !important;
30+
box-sizing: border-box !important;
31+
}
32+
33+
/* Override home page chat-panel constraints on chat page */
34+
:global(.chat-panel) {
35+
width: 100% !important;
36+
max-width: 100% !important;
37+
}
38+
2439
/* Ensure no white space in chat area */
2540
.no-white-space {
2641
margin: 0 !important;

App/frontend-app/src/pages/chat/chatPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ export function ChatPage() {
3131
};
3232

3333
return (
34-
<div className="flex w-full flex-1 flex-col bg-neutral-100">
34+
<div className="flex w-full flex-1 flex-col bg-neutral-100" style={{ width: '100vw', maxWidth: '100vw', margin: 0, padding: 0 }}>
3535
<Header className="flex flex-col justify-between bg-contain bg-right-bottom bg-no-repeat" size="small">
3636
<div className="-ml-8">
3737
<HeaderBar location={NavLocation.Home} />
3838
</div>
3939
</Header>
40-
<main className="flex flex-1 flex-col w-full">
41-
<div className="flex flex-1 flex-col w-full">
40+
<main className="flex flex-1 flex-col w-full" style={{ width: '100%', maxWidth: '100%' }}>
41+
<div className="flex flex-1 flex-col w-full" style={{ width: '100%', maxWidth: '100%' }}>
4242
<HeaderMenuTabs
4343
className=""
4444
searchResultDocuments={searchResultDocuments}

App/frontend-app/src/pages/home/home.module.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@
5353
overflow: hidden; /* Prevent content from spilling out */
5454
}
5555

56+
/* Full width override for chat page */
57+
.chat-panel-fullwidth {
58+
width: 100% !important;
59+
max-width: 100% !important;
60+
min-width: 300px;
61+
transition: width 0.3s ease-in-out;
62+
overflow: hidden;
63+
}
64+
5665
.filters-panel-collapsed {
5766
width: 50px !important;
5867
min-width: 50px;

0 commit comments

Comments
 (0)