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(core): checkbox property styling and layout (#8645)
pengx172b3b7057c528
diff --git a/packages/frontend/core/src/components/doc-properties/types/checkbox.css.ts b/packages/frontend/core/src/components/doc-properties/types/checkbox.css.tsindex 9c33303817..8b60d0051a 100644--- a/packages/frontend/core/src/components/doc-properties/types/checkbox.css.ts+++ b/packages/frontend/core/src/components/doc-properties/types/checkbox.css.ts@@ -1,6 +1,11 @@-import { cssVar } from '@toeverything/theme';+import { cssVarV2 } from '@toeverything/theme/v2';import { style } from '@vanilla-extract/css';export const checkboxProperty = style({- fontSize: cssVar('fontH5'),+ fontSize: 24,+ color: cssVarV2('icon/primary'),+});++export const container = style({+ padding: 4,});diff --git a/packages/frontend/core/src/components/doc-properties/types/checkbox.tsx b/packages/frontend/core/src/components/doc-properties/types/checkbox.tsxindex 6a1aa08b7a..666bc22411 100644--- a/packages/frontend/core/src/components/doc-properties/types/checkbox.tsx+++ b/packages/frontend/core/src/components/doc-properties/types/checkbox.tsx@@ -14,7 +14,7 @@ export const CheckboxValue = ({ value, onChange }: PropertyValueProps) => {[onChange, parsedValue]);return (- <PropertyValue onClick={handleClick}>+ <PropertyValue onClick={handleClick} className={styles.container}><CheckboxclassName={styles.checkboxProperty}checked={parsedValue}diff --git a/packages/frontend/core/src/modules/doc-info/views/database-properties/doc-database-backlink-info.css.ts b/packages/frontend/core/src/modules/doc-info/views/database-properties/doc-database-backlink-info.css.tsindex dab6c4754d..cbddffbaed 100644--- a/packages/frontend/core/src/modules/doc-info/views/database-properties/doc-database-backlink-info.css.ts+++ b/packages/frontend/core/src/modules/doc-info/views/database-properties/doc-database-backlink-info.css.ts@@ -15,7 +15,6 @@ export const section = style({export const cell = style({display: 'flex',- gap: 4,});export const divider = style({