From 12c5e6be24b15329ce2edf9d1b4de6a4a96b16a8 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Fri, 5 Apr 2024 16:36:13 +0200 Subject: [PATCH 1/2] Remove scrollbar --- app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/layout.tsx b/app/layout.tsx index ba2b3ec..5cf1adb 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -50,7 +50,7 @@ export default function RootLayout({ }> -
+
{children} From d26e894452d41f11c4750b329170878464578a06 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Fri, 5 Apr 2024 16:36:40 +0200 Subject: [PATCH 2/2] Move "Ask a question" to top, and remove the element completely with hidden --- components/Sidebar.tsx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 5cedbc0..c7f1d0c 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -86,6 +86,19 @@ export const Sidebar = () => {
Sessions
+
+ +
{sessions.length > 0 && (
{sessions.map(([item]) => ( @@ -112,21 +125,6 @@ export const Sidebar = () => { ))}
)} -
- -