fix: some responsiveness issues (#1088)

This commit is contained in:
Peng Xiao
2023-02-17 13:30:19 +08:00
committed by GitHub
parent cbdc751be1
commit 5aa835deb6
4 changed files with 5 additions and 2 deletions

View File

@@ -154,6 +154,7 @@ legend {
}
body {
background: #fff;
overflow: hidden;
}
a,
a:hover {

View File

@@ -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',
};
});

View File

@@ -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',
};
});

View File

@@ -4,7 +4,7 @@
}
.affine-default-page-block-container {
width: 686px !important;
max-width: 686px;
}
.affine-default-page-block-container > .affine-block-children-container {
margin-left: -26px !important;