fix: style ui

This commit is contained in:
DiamondThree
2022-08-10 18:35:31 +08:00
parent 46f903583b
commit 7c076ea567

View File

@@ -109,12 +109,15 @@ export const PageView: FC<CreateView> = ({ block, editor }) => {
); );
}; };
const PageTitleBlock = styled('div')({ const PageTitleBlock = styled('div')(({ theme }) => {
return {
'.title': { '.title': {
fontSize: Theme.typography.page.fontSize, fontSize: theme.affine.typography.page.fontSize,
lineHeight: Theme.typography.page.lineHeight, lineHeight: theme.affine.typography.page.lineHeight,
fontWeight: theme.affine.typography.page.fontWeight,
}, },
'.content': { '.content': {
outline: 'none', outline: 'none',
}, },
};
}); });