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(editor): database detail panel cannot scroll (#11080)
zzj3720909426c64455
diff --git a/blocksuite/affine/data-view/src/core/detail/detail.ts b/blocksuite/affine/data-view/src/core/detail/detail.tsindex 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()}</div></div>- <div- style="width: 100%;max-width: var(--affine-editor-width);display: flex;flex-direction: column;margin: 0 auto;box-sizing: border-box;"- >- ${keyed(this.rowId, this.renderHeader())}- ${repeat(- properties,- v => v.id,- property => {- return keyed(- this.rowId,- html` <affine-data-view-record-field- .view="${this.view}"- .column="${property}"- .rowId="${this.rowId}"- data-column-id="${property.id}"- ></affine-data-view-record-field>`- );- }- )}- ${!this.readonly- ? html` <div class="add-property" @click="${this._clickAddProperty}">- <div class="icon">${PlusIcon()}</div>- Add Property- </div>`- : nothing}+ <div style="flex:1;overflow-y: auto;overflow-x: hidden">+ <div+ style="width: 100%;max-width: var(--affine-editor-width);display: flex;flex-direction: column;margin: 0 auto;box-sizing: border-box;"+ >+ ${keyed(this.rowId, this.renderHeader())}+ ${repeat(+ properties,+ v => v.id,+ property => {+ return keyed(+ this.rowId,+ html` <affine-data-view-record-field+ .view="${this.view}"+ .column="${property}"+ .rowId="${this.rowId}"+ data-column-id="${property.id}"+ ></affine-data-view-record-field>`+ );+ }+ )}+ ${!this.readonly+ ? html` <div+ class="add-property"+ @click="${this._clickAddProperty}"+ >+ <div class="icon">${PlusIcon()}</div>+ Add Property+ </div>`+ : nothing}+ </div>+ ${keyed(this.rowId, this.renderNote())}</div>- ${keyed(this.rowId, this.renderNote())}`;}