diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts b/packages/frontend/core/src/components/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
index 6ee9a37150..509031c590 100644
--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
@@ -88,13 +88,13 @@ globalStyle(`${link} .affine-reference-title`, {
export const linkPreviewContainer = style({
display: 'flex',
flexDirection: 'column',
- gap: '8px',
});
export const linkPreview = style({
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
borderRadius: '8px',
padding: '8px',
+ marginBottom: '8px',
color: cssVarV2('text/primary'),
':hover': {
backgroundColor: cssVarV2('layer/background/hoverOverlay'),
diff --git a/packages/frontend/core/src/desktop/dialogs/doc-info/info-modal.tsx b/packages/frontend/core/src/desktop/dialogs/doc-info/info-modal.tsx
index daeaedd375..2edaa3f217 100644
--- a/packages/frontend/core/src/desktop/dialogs/doc-info/info-modal.tsx
+++ b/packages/frontend/core/src/desktop/dialogs/doc-info/info-modal.tsx
@@ -95,26 +95,6 @@ export const InfoTable = ({
return (
<>
- {backlinks && backlinks.length > 0 ? (
- <>
-
-
- >
- ) : null}
- {links && links.length > 0 ? (
- <>
-
-
- >
- ) : null}
@@ -166,6 +146,26 @@ export const InfoTable = ({
+ {backlinks && backlinks.length > 0 ? (
+ <>
+
+
+ >
+ ) : null}
+ {links && links.length > 0 ? (
+ <>
+
+
+ >
+ ) : null}
>
);
};
diff --git a/packages/frontend/core/src/mobile/components/doc-info/doc-info.tsx b/packages/frontend/core/src/mobile/components/doc-info/doc-info.tsx
index 89bc1b5294..a959a7ce94 100644
--- a/packages/frontend/core/src/mobile/components/doc-info/doc-info.tsx
+++ b/packages/frontend/core/src/mobile/components/doc-info/doc-info.tsx
@@ -78,27 +78,6 @@ export const DocInfoSheet = ({
- {backlinks && backlinks.length > 0 ? (
- <>
-
-
- >
- ) : null}
- {links && links.length > 0 ? (
- <>
-
-
- >
- ) : null}
-
@@ -150,6 +129,27 @@ export const DocInfoSheet = ({
+
+ {backlinks && backlinks.length > 0 ? (
+ <>
+
+
+ >
+ ) : null}
+ {links && links.length > 0 ? (
+ <>
+
+
+ >
+ ) : null}