mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-10 11:28:45 +00:00
Compare commits
9 Commits
v0.20.5-be
...
v0.13.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2dda8cd95 | ||
|
|
c517a71361 | ||
|
|
848ca3a0c4 | ||
|
|
bf88a36fac | ||
|
|
44c6ee6274 | ||
|
|
913a8fb36d | ||
|
|
8315908490 | ||
|
|
126bfe9c6e | ||
|
|
af2d895e78 |
@@ -9,6 +9,18 @@ export const editor = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'@media': {
|
||||||
|
'screen and (max-width: 800px)': {
|
||||||
|
selectors: {
|
||||||
|
'&.is-public': {
|
||||||
|
vars: {
|
||||||
|
'--affine-editor-width': '100%',
|
||||||
|
'--affine-editor-side-padding': '24px',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
globalStyle(
|
globalStyle(
|
||||||
`${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,
|
`${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ const PageDetailEditorMain = memo(function PageDetailEditorMain({
|
|||||||
return (
|
return (
|
||||||
<Editor
|
<Editor
|
||||||
className={clsx(styles.editor, {
|
className={clsx(styles.editor, {
|
||||||
'full-screen': appSettings.fullWidthLayout,
|
'full-screen': !isPublic && appSettings.fullWidthLayout,
|
||||||
|
'is-public': isPublic,
|
||||||
})}
|
})}
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ export const footerContainer = style({
|
|||||||
paddingLeft: cssVar('editorSidePadding'),
|
paddingLeft: cssVar('editorSidePadding'),
|
||||||
paddingRight: cssVar('editorSidePadding'),
|
paddingRight: cssVar('editorSidePadding'),
|
||||||
marginBottom: '200px',
|
marginBottom: '200px',
|
||||||
|
'@media': {
|
||||||
|
'screen and (max-width: 800px)': {
|
||||||
|
paddingLeft: '24px',
|
||||||
|
paddingRight: '24px',
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
export const footer = style({
|
export const footer = style({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|||||||
Reference in New Issue
Block a user