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
chore(editor): remove unexpected bottom padding of code block (#10660)
L-Sun797e63f86ff8
diff --git a/blocksuite/affine/block-code/src/styles.ts b/blocksuite/affine/block-code/src/styles.tsindex c527612e2d..118f88fc57 100644--- a/blocksuite/affine/block-code/src/styles.ts+++ b/blocksuite/affine/block-code/src/styles.ts@@ -15,6 +15,10 @@ export const codeBlockStyles = css`padding: 12px;}+ .affine-code-block-container rich-text {+ overflow-x: hidden;+ }+.affine-code-block-container .inline-editor {font-family: var(--affine-font-code-family);font-variant-ligatures: none;