From 590a8e374001ff4e3d7c9d2cda06a7b40c8b0a5b Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Fri, 4 Feb 2022 20:23:49 +0100 Subject: [PATCH] Remove the vertical scrollbars everywhere --- theatre/studio/src/panels/DetailPanel/DetailPanel.tsx | 5 +++++ theatre/studio/src/panels/OutlinePanel/OutlinePanel.tsx | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx b/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx index cb100bd..6ab1f77 100644 --- a/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx +++ b/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx @@ -92,6 +92,11 @@ const Body = styled.div` height: auto; max-height: calc(100% - ${headerHeight}); overflow-y: scroll; + &::-webkit-scrollbar { + display: none; + } + + scrollbar-width: none; padding: 0; user-select: none; ` diff --git a/theatre/studio/src/panels/OutlinePanel/OutlinePanel.tsx b/theatre/studio/src/panels/OutlinePanel/OutlinePanel.tsx index 45acdbc..caab83c 100644 --- a/theatre/studio/src/panels/OutlinePanel/OutlinePanel.tsx +++ b/theatre/studio/src/panels/OutlinePanel/OutlinePanel.tsx @@ -111,6 +111,11 @@ const Body = styled.div` overflow-x: hidden; padding: 0; user-select: none; + &::-webkit-scrollbar { + display: none; + } + + scrollbar-width: none; ` const NumberOfConflictsIndicator = styled.div`