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.

chore: update button ui component

JimmFly74d7b7ab9da4
diff --git a/packages/app/src/ui/button/styles.ts b/packages/app/src/ui/button/styles.ts
index 54cda81dcc..8cbf57f685 100644
--- a/packages/app/src/ui/button/styles.ts
+++ b/packages/app/src/ui/button/styles.ts
@@ -182,7 +182,7 @@ export const StyledButton = styled('button', {
paddingLeft: padding,
paddingRight: padding,
border: '1px solid',
- ...displayInlineFlex('flex-start', 'center'),
+ ...displayInlineFlex('center', 'center'),
position: 'relative',
// TODO: disabled color is not decided
...(disabled