Skip to content

Commit

Permalink
Merge pull request #2308 from athensresearch/tangjeff0-patch-1
Browse files Browse the repository at this point in the history
hide horizontal scrollbar of right-sidebar
  • Loading branch information
tangjeff0 committed Aug 24, 2022
2 parents 4bee7f1 + d836bf1 commit 097b703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/components/Layout/RightSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const RightSidebar = (props: RightSidebarProps) => {
transitionProperty="background"
transitionTimingFunction="ease-in-out"
transitionDuration="fast"
overflowX="hidden"
overflowY="auto"
borderLeft="1px solid"
borderColor="separator.divider"
Expand All @@ -39,7 +40,7 @@ export const RightSidebar = (props: RightSidebarProps) => {
pt={`calc(${toolbarHeight} + 1rem)`}
left="auto"
>
<Box overflow="hidden" width={rightSidebarWidth + "vw"}>
<Box width={rightSidebarWidth + "vw"}>
{children}
</Box>
</Box>
Expand Down

0 comments on commit 097b703

Please sign in to comment.