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(component): center button's icon vertically (#7775)
CatsJuicec8f4766cebae
diff --git a/packages/frontend/component/src/ui/button/button.css.ts b/packages/frontend/component/src/ui/button/button.css.tsindex 196a0b4e9f..8133c6eacb 100644--- a/packages/frontend/component/src/ui/button/button.css.ts+++ b/packages/frontend/component/src/ui/button/button.css.ts@@ -198,6 +198,8 @@ export const icon = style({// 2. width/height is set to `1em`fontSize: iconSizeVar,color: iconColorVar,+ display: 'flex',+ alignItems: 'center',});globalStyle(`${icon} > svg`, {width: '100%',