From 909426c644553ac2d9643ca3f046222407a678b5 Mon Sep 17 00:00:00 2001 From: zzj3720 <17165520+zzj3720@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:11:52 +0000 Subject: [PATCH] fix(editor): database detail panel cannot scroll (#11080) fix: BS-1821 --- .../data-view/src/core/detail/detail.ts | 57 ++++++++++--------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/blocksuite/affine/data-view/src/core/detail/detail.ts b/blocksuite/affine/data-view/src/core/detail/detail.ts index 6c3440d55a..b4bcfb8a46 100644 --- a/blocksuite/affine/data-view/src/core/detail/detail.ts +++ b/blocksuite/affine/data-view/src/core/detail/detail.ts @@ -231,33 +231,38 @@ export class RecordDetail extends SignalWatcher( ${ArrowDownBigIcon()} -
- ${keyed(this.rowId, this.renderHeader())} - ${repeat( - properties, - v => v.id, - property => { - return keyed( - this.rowId, - html` ` - ); - } - )} - ${!this.readonly - ? html`
-
${PlusIcon()}
- Add Property -
` - : nothing} +
+
+ ${keyed(this.rowId, this.renderHeader())} + ${repeat( + properties, + v => v.id, + property => { + return keyed( + this.rowId, + html` ` + ); + } + )} + ${!this.readonly + ? html`
+
${PlusIcon()}
+ Add Property +
` + : nothing} +
+ ${keyed(this.rowId, this.renderNote())}
- ${keyed(this.rowId, this.renderNote())} `; }