mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: some responsiveness issues (#1088)
This commit is contained in:
@@ -7,7 +7,7 @@ import { styled } from '@affine/component';
|
||||
const StyledEditorContainer = styled('div')(() => {
|
||||
return {
|
||||
position: 'relative',
|
||||
height: 'calc(100vh - 60px)',
|
||||
height: 'calc(100% - 60px)',
|
||||
padding: '0 32px',
|
||||
};
|
||||
});
|
||||
|
||||
@@ -3,6 +3,7 @@ import { styled } from '@affine/component';
|
||||
export const StyledPage = styled('div')(({ theme }) => {
|
||||
return {
|
||||
height: '100vh',
|
||||
minHeight: '450px',
|
||||
backgroundColor: theme.colors.pageBackground,
|
||||
transition: 'background-color .5s',
|
||||
display: 'flex',
|
||||
@@ -14,6 +15,7 @@ export const StyledWrapper = styled('div')(() => {
|
||||
return {
|
||||
flexGrow: 1,
|
||||
position: 'relative',
|
||||
overflow: 'auto',
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user