There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): center peek style (#9127)
pengx17152a406ced69
diff --git a/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts b/packages/frontend/core/src/modules/peek-view/view/modal-container.css.tsindex de9a85de0f..ad2446adcd 100644--- a/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts+++ b/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts@@ -43,6 +43,13 @@ export const modalContentContainer = style({},},},+ 'screen and (width > 640px) and (width <= 1024px)': {+ selectors: {+ [`${modalContentWrapper}[data-mode="fit"] &`]: {+ paddingRight: 12,+ },+ },+ },},selectors: {[`${modalContentWrapper}[data-mode="max"] &`]: {@@ -107,5 +114,8 @@ export const modalControls = style({left: 0,padding: '8px',},+ 'screen and (width > 640px) and (width <= 1024px)': {+ paddingLeft: 0,+ },},});