fix: style ui

This commit is contained in:
DiamondThree
2022-08-10 18:35:31 +08:00
parent 46f903583b
commit 7c076ea567
@@ -109,12 +109,15 @@ export const PageView: FC<CreateView> = ({ block, editor }) => {
); );
}; };
const PageTitleBlock = styled('div')({ const PageTitleBlock = styled('div')(({ theme }) => {
'.title': { return {
fontSize: Theme.typography.page.fontSize, '.title': {
lineHeight: Theme.typography.page.lineHeight, fontSize: theme.affine.typography.page.fontSize,
}, lineHeight: theme.affine.typography.page.lineHeight,
'.content': { fontWeight: theme.affine.typography.page.fontWeight,
outline: 'none', },
}, '.content': {
outline: 'none',
},
};
}); });