mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00: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({
|
||||
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
|
||||
className={clsx(styles.editor, {
|
||||
'full-screen': appSettings.fullWidthLayout,
|
||||
'is-public-page': isPublic,
|
||||
})}
|
||||
style={
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user