From 2e0e0626bf7d958c76f6a323571c0cf82ac2c562 Mon Sep 17 00:00:00 2001 From: JoaoSaIvador Date: Fri, 20 Jan 2023 15:08:00 +0000 Subject: [PATCH 1/2] fix: create board page double scrollbar --- frontend/src/components/CreateBoard/TipBar.tsx | 1 - frontend/src/styles/pages/boards/newSplitBoard.styles.tsx | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/CreateBoard/TipBar.tsx b/frontend/src/components/CreateBoard/TipBar.tsx index dfcfcad59..00b8d0466 100644 --- a/frontend/src/components/CreateBoard/TipBar.tsx +++ b/frontend/src/components/CreateBoard/TipBar.tsx @@ -17,7 +17,6 @@ const CreateBoardTipBar = ({ isSplitBoard, isRegularBoard }: CreateBoardTipBarPr Date: Fri, 20 Jan 2023 15:18:14 +0000 Subject: [PATCH 2/2] fix: board members double scrollbars --- frontend/src/components/Board/Settings/styles.tsx | 3 --- .../components/Boards/MyBoards/ListBoardMembers/styles.tsx | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/Board/Settings/styles.tsx b/frontend/src/components/Board/Settings/styles.tsx index 5f0f4aecf..faa11ec58 100644 --- a/frontend/src/components/Board/Settings/styles.tsx +++ b/frontend/src/components/Board/Settings/styles.tsx @@ -41,12 +41,9 @@ const StyledDialogContent = styled(DialogPrimitive.Content, { position: 'fixed', top: 0, right: 0, - overflow: 'auto', height: '100vh', width: '592px', - padding: 0, - backgroundColor: 'white', zIndex: 10, diff --git a/frontend/src/components/Boards/MyBoards/ListBoardMembers/styles.tsx b/frontend/src/components/Boards/MyBoards/ListBoardMembers/styles.tsx index 6dc27f4e4..59dd32ff3 100644 --- a/frontend/src/components/Boards/MyBoards/ListBoardMembers/styles.tsx +++ b/frontend/src/components/Boards/MyBoards/ListBoardMembers/styles.tsx @@ -2,11 +2,10 @@ import { styled } from '../../../../styles/stitches/stitches.config'; import Flex from '../../../Primitives/Flex'; const ScrollableContent = styled(Flex, { - mt: '$24', - height: 'calc(100vh - 100px)', + py: '$24', + height: 'calc(100vh - 89px)', overflowY: 'auto', pr: '$10', - pb: '$10', }); export { ScrollableContent };