Skip to content

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.

fix(editor): popover style on link popup (#11495)

fundon6e10fe620595
diff --git a/blocksuite/affine/inlines/link/src/link-node/link-popup/styles.ts b/blocksuite/affine/inlines/link/src/link-node/link-popup/styles.ts
index 68e64cc80a..ad7ea885ad 100644
--- a/blocksuite/affine/inlines/link/src/link-node/link-popup/styles.ts
+++ b/blocksuite/affine/inlines/link/src/link-node/link-popup/styles.ts
@@ -98,6 +98,7 @@ export const linkPopupStyle = css`
background-color: rgba(35, 131, 226, 0.28);
}
+ ${panelBaseStyle('.popover-container')}
.popover-container {
z-index: var(--affine-z-index-popover);
animation: affine-popover-fade-in 0.2s ease;
@@ -129,8 +130,8 @@ export const linkPopupStyle = css`
pointer-events: none;
}
- ${panelBaseStyle('.affine-link-popover.create')}
.affine-link-popover.create {
+ display: flex;
gap: 12px;
padding: 12px;