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): video style in edgeless (#10198)
fundon6dc1fefa33d8
diff --git a/blocksuite/affine/block-attachment/src/embed.ts b/blocksuite/affine/block-attachment/src/embed.tsindex 0e50e75146..69bb469455 100644--- a/blocksuite/affine/block-attachment/src/embed.ts+++ b/blocksuite/affine/block-attachment/src/embed.ts@@ -151,7 +151,13 @@ const embedConfig: AttachmentEmbedConfig[] = [check: (model, maxFileSize) =>model.type.startsWith('video/') && model.size <= maxFileSize,template: (_, blobUrl) =>- html`<video width="100%;" height="480" controls src=${blobUrl}></video>`,+ html`<video+ style="max-height: max-content;"+ width="100%;"+ height="480"+ controls+ src=${blobUrl}+ ></video>`,},{name: 'audio',