From 4c0de559bc52b7a72f9228d2f69e9590cc4e6214 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Tue, 5 Dec 2023 12:15:22 -0500 Subject: [PATCH 1/2] fix split view pane height --- .../components/FeedLayout/components/SplitView/SplitView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx b/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx index 144f7aac41..4da2983a81 100644 --- a/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx +++ b/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx @@ -45,7 +45,7 @@ const SplitView: FC = (props) => { }} pane1Style={{ overflow: "scroll", - height: "100vh", + height: "calc(100vh - var(--split-view-top))", }} > {children} From c61694f23ea2885d0074538a3eeb22ad5aa353b6 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Tue, 5 Dec 2023 12:58:54 -0500 Subject: [PATCH 2/2] use overflow: auto --- .../components/FeedLayout/components/SplitView/SplitView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx b/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx index 4da2983a81..275d816c3e 100644 --- a/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx +++ b/src/pages/commonFeed/components/FeedLayout/components/SplitView/SplitView.tsx @@ -44,7 +44,7 @@ const SplitView: FC = (props) => { flexDirection: "column", }} pane1Style={{ - overflow: "scroll", + overflow: "auto", height: "calc(100vh - var(--split-view-top))", }} >