Skip to content

Commit

Permalink
fixing mobile heights
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Agnihotri committed Dec 20, 2024
1 parent 0c926be commit 9956776
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/chat/[chatId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default function ChatPage() {

return (
<Protected>
<div className="flex flex-row gap-0 w-full h-screen">
<div className="flex flex-row gap-0 w-full h-svh">
<div
className={`bg-black transition-all duration-300 flex-shrink-0 overflow-y-auto ${isNavbarOpen ? 'w-64' : 'w-0'}`}
>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/InitialChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function InitialChatPage() {
};

return (
<div className="flex flex-row gap-0 h-screen">
<div className="flex flex-row gap-0 h-svh">
<div
className={`bg-black transition-all duration-300 overscroll-none flex-shrink-0 ${isNavbarOpen ? 'w-64' : 'w-0'}`}
>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Protected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Protected({ children }: ProtectedProps) {
if (loading) {
return (
<div className="h-screen w-screen flex align-middle justify-center">
<Spinner width='4' height='4' />
<Spinner width='5' height='5' />
</div>
);
}
Expand Down

0 comments on commit 9956776

Please sign in to comment.