mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(web): css in mobile (#1731)
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user