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): the switch button style set in the TOC does not effect (#11622)
Kieran Cuibcd1cd2629f2
diff --git a/blocksuite/affine/components/src/toggle-switch/index.ts b/blocksuite/affine/components/src/toggle-switch/index.tsindex 2597cf5f32..0e60bf5df1 100644--- a/blocksuite/affine/components/src/toggle-switch/index.ts+++ b/blocksuite/affine/components/src/toggle-switch/index.ts@@ -38,11 +38,11 @@ const styles = css`transition: 0.1s;}- label.subscribe {+ label.on {background: var(--affine-primary-color);}- label.subscribe:after {+ label.on:after {left: calc(100% - 1px);transform: translateX(-100%);}