fix(web): css in mobile (#1731)

This commit is contained in:
Himself65
2023-03-28 14:42:30 -05:00
committed by GitHub
parent 5faa2760cd
commit 6917d2100f
3 changed files with 19 additions and 1 deletions

View File

@@ -1,11 +1,14 @@
import { displayFlex, styled } from '@affine/component';
import { TableRow } from '@affine/component';
export const StyledTableContainer = styled('div')(() => {
export const StyledTableContainer = styled('div')(({ theme }) => {
return {
height: 'calc(100vh - 60px)',
padding: '78px 72px',
overflowY: 'auto',
[theme.breakpoints.down('sm')]: {
padding: '12px 24px',
},
};
});
export const StyledTitleWrapper = styled('div')(({ theme }) => {

View File

@@ -208,3 +208,15 @@ affine-block-hub {
.block-hub-menu-container {
position: unset !important;
}
@media (max-width: 768px) {
.affine-default-page-block-title-container {
margin-top: 24px;
}
.editor-wrapper {
width: 100%;
height: 100%;
padding: 0 0.75rem;
}
}