Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: new split board page scroll #921

Merged
merged 2 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions frontend/src/components/Board/Settings/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
1 change: 0 additions & 1 deletion frontend/src/components/CreateBoard/TipBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const CreateBoardTipBar = ({ isSplitBoard, isRegularBoard }: CreateBoardTipBarPr
<Flex
direction="column"
css={{
minHeight: 'calc(100vh - $sizes$92 - $sizes$81)',
backgroundColor: '$primary800',
padding: '$32',
pt: '$100',
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/styles/pages/boards/newSplitBoard.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,18 @@ const PageHeader = styled('header', {
});

const ContentWrapper = styled('section', {
width: '100%',
position: 'relative',
height: 'calc(100vh - $sizes$92 - $sizes$81)',
overflowY: 'scroll',
overflowY: 'auto',
});

const ContentContainer = styled('section', {
display: 'flex',
width: '100%',
height: 'auto',
});

const InnerContent = styled(Flex, {
flex: '1 1 auto',
width: '100%',
height: '100%',
});

Expand Down