Skip to content

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.

feat: center align button text (#2056)

Moeyua Evod2c95a0a7578f
diff --git a/packages/component/src/ui/button/styles.ts b/packages/component/src/ui/button/styles.ts
index b7342832be..b04bd92d68 100644
--- a/packages/component/src/ui/button/styles.ts
+++ b/packages/component/src/ui/button/styles.ts
@@ -207,7 +207,6 @@ export const StyledButton = styled('button', {
color: 'var(--affine-icon-color)',
},
'>span': {
- marginLeft: '5px',
width: 'max-content',
},
// eslint-disable-next-line @typescript-eslint/ban-ts-comment