Compare commits

...

9 Commits

Author SHA1 Message Date
LongYinan
f2dda8cd95 Merge branch 'beta' into stable 2024-03-29 14:37:25 +08:00
JimmFly
c517a71361 fix(core): unexpected response style of shared page (#6383) 2024-03-29 14:35:32 +08:00
LongYinan
848ca3a0c4 Merge branch 'canary' into beta 2024-03-29 13:15:39 +08:00
LongYinan
bf88a36fac Merge remote-tracking branch 'origin/beta' into stable 2024-03-27 17:09:47 +08:00
LongYinan
44c6ee6274 Merge remote-tracking branch 'origin/canary' into beta 2024-03-27 17:08:47 +08:00
LongYinan
913a8fb36d Merge remote-tracking branch 'origin/canary' into beta 2024-03-27 15:32:45 +08:00
LongYinan
8315908490 Merge remote-tracking branch 'origin/canary' into beta 2024-03-27 14:46:56 +08:00
LongYinan
126bfe9c6e Merge remote-tracking branch 'origin/canary' into beta 2024-03-26 14:53:01 +08:00
liuyi
af2d895e78 chore(server): cache blob list result (#6297) 2024-03-26 13:49:24 +08:00
3 changed files with 20 additions and 1 deletions

View File

@@ -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(
`${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,

View File

@@ -104,7 +104,8 @@ const PageDetailEditorMain = memo(function PageDetailEditorMain({
return (
<Editor
className={clsx(styles.editor, {
'full-screen': appSettings.fullWidthLayout,
'full-screen': !isPublic && appSettings.fullWidthLayout,
'is-public': isPublic,
})}
style={
{

View File

@@ -14,6 +14,12 @@ export const footerContainer = style({
paddingLeft: cssVar('editorSidePadding'),
paddingRight: cssVar('editorSidePadding'),
marginBottom: '200px',
'@media': {
'screen and (max-width: 800px)': {
paddingLeft: '24px',
paddingRight: '24px',
},
},
});
export const footer = style({
display: 'flex',