mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
feat: hide page info in public pages (#4365)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { style } from '@vanilla-extract/css';
|
import { globalStyle, style } from '@vanilla-extract/css';
|
||||||
|
|
||||||
export const pluginContainer = style({
|
export const pluginContainer = style({
|
||||||
height: '100%',
|
height: '100%',
|
||||||
@@ -16,3 +16,6 @@ export const editor = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
globalStyle('.is-public-page affine-page-meta-data', {
|
||||||
|
display: 'none',
|
||||||
|
});
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ const EditorWrapper = memo(function EditorWrapper({
|
|||||||
<Editor
|
<Editor
|
||||||
className={clsx(styles.editor, {
|
className={clsx(styles.editor, {
|
||||||
'full-screen': appSettings.fullWidthLayout,
|
'full-screen': appSettings.fullWidthLayout,
|
||||||
|
'is-public-page': isPublic,
|
||||||
})}
|
})}
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user