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): minor page info style issues (#5935)
Peng Xiaoa0364dd4eab5
diff --git a/packages/frontend/core/src/components/affine/page-properties/property-row-value-renderer.tsx b/packages/frontend/core/src/components/affine/page-properties/property-row-value-renderer.tsxindex 045afef37d..f6a919002e 100644--- a/packages/frontend/core/src/components/affine/page-properties/property-row-value-renderer.tsx+++ b/packages/frontend/core/src/components/affine/page-properties/property-row-value-renderer.tsx@@ -130,7 +130,7 @@ export const TextValue = ({ property }: PropertyRowValueProps) => {/><div className={styles.propertyRowValueTextareaInvisible}>{value}- {value?.endsWith('\n') || value === '' ? <br /> : null}+ {value?.endsWith('\n') || !value ? <br /> : null}</div></div>);diff --git a/packages/frontend/core/src/components/affine/page-properties/styles.css.ts b/packages/frontend/core/src/components/affine/page-properties/styles.css.tsindex d66aba67fb..79c3210c0e 100644--- a/packages/frontend/core/src/components/affine/page-properties/styles.css.ts+++ b/packages/frontend/core/src/components/affine/page-properties/styles.css.ts@@ -92,7 +92,7 @@ export const tableHeaderDivider = style({height: '0.5px',width: '100%',margin: '8px 0',- backgroundColor: cssVar('dividerColor'),+ backgroundColor: cssVar('borderColor'),});export const tableBodyRoot = style({@@ -114,7 +114,8 @@ export const addPropertyButton = style({alignSelf: 'flex-start',fontSize: cssVar('fontSm'),color: `${cssVar('textSecondaryColor')} !important`,- padding: '6px 4px',+ padding: '0 4px',+ height: 36,cursor: 'pointer',':hover': {color: cssVar('textPrimaryColor'),@@ -440,7 +441,7 @@ export const selectorButton = style({borderRadius: 4,gap: 8,fontSize: cssVar('fontSm'),- fontWeight: 500,+ fontWeight: 400,padding: '4px 8px',cursor: 'pointer',':hover': {