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')({
'.title': {
fontSize: Theme.typography.page.fontSize,
lineHeight: Theme.typography.page.lineHeight,
},
'.content': {
outline: 'none',
},
const PageTitleBlock = styled('div')(({ theme }) => {
return {
'.title': {
fontSize: theme.affine.typography.page.fontSize,
lineHeight: theme.affine.typography.page.lineHeight,
fontWeight: theme.affine.typography.page.fontWeight,
},
'.content': {
outline: 'none',
},
};
});