@@ -247,6 +247,10 @@ export const BlocksuiteDocEditor = forwardRef<
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const displayDocInfo = useLiveData(
|
||||||
|
editorSettingService.editorSetting.settings$.selector(s => s.displayDocInfo)
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className={styles.affineDocViewport} style={{ height: '100%' }}>
|
<div className={styles.affineDocViewport} style={{ height: '100%' }}>
|
||||||
@@ -255,7 +259,7 @@ export const BlocksuiteDocEditor = forwardRef<
|
|||||||
) : (
|
) : (
|
||||||
<BlocksuiteEditorJournalDocTitle page={page} />
|
<BlocksuiteEditorJournalDocTitle page={page} />
|
||||||
)}
|
)}
|
||||||
{!shared ? (
|
{!shared && displayDocInfo ? (
|
||||||
<DocPropertiesTable defaultOpenProperty={defaultOpenProperty} />
|
<DocPropertiesTable defaultOpenProperty={defaultOpenProperty} />
|
||||||
) : null}
|
) : null}
|
||||||
<adapted.DocEditor
|
<adapted.DocEditor
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const root = style({
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
fontFamily: cssVar('fontSansFamily'),
|
fontFamily: cssVar('fontSansFamily'),
|
||||||
|
paddingBottom: '18px',
|
||||||
vars: {
|
vars: {
|
||||||
[propertyNameCellWidth]: '160px',
|
[propertyNameCellWidth]: '160px',
|
||||||
[fontSize]: cssVar('fontSm'),
|
[fontSize]: cssVar('fontSm'),
|
||||||
@@ -41,6 +42,7 @@ export const tableHeader = style({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: 30,
|
height: 30,
|
||||||
padding: 4,
|
padding: 4,
|
||||||
|
marginBottom: '8px',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
color: cssVarV2('text/secondary'),
|
color: cssVarV2('text/secondary'),
|
||||||
|
|||||||
Reference in New Issue
Block a user