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: adjust peek view modal container styles (#7153)
pengx1710297766b8f5
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 a334fcf810..6ca69e8c1f 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@@ -97,6 +97,7 @@ export const modalContentContainer = style({alignItems: 'flex-start',width: '90%',height: '90%',+ maxWidth: 1248,});export const modalContent = style({diff --git a/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx b/packages/frontend/core/src/modules/peek-view/view/modal-container.tsxindex 80c7c6974a..e41d4198d6 100644--- a/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx+++ b/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx@@ -72,7 +72,7 @@ export const PeekViewModalContainer = ({onAnimateEnd?: () => void;}>) => {const [{ status }, toggle] = useTransition({- timeout: animationTimeout * 2,+ timeout: animationTimeout * 1.5,onStateChange(event) {if (event.current.status === 'exited' && onAnimateEnd) {onAnimateEnd();