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.

fix: vertical alignment of item on share menu (#2274)

Fangdun Tsai11d1d773ff81
diff --git a/packages/component/src/ui/menu/styles.ts b/packages/component/src/ui/menu/styles.ts
index f1279c8142..8e18b66a2a 100644
--- a/packages/component/src/ui/menu/styles.ts
+++ b/packages/component/src/ui/menu/styles.ts
@@ -21,6 +21,7 @@ export const StyledMenuWrapper = styled(StyledPopperContainer)<{
export const StyledStartIconWrapper = styled('div')(() => {
return {
+ display: 'flex',
marginRight: '12px',
fontSize: '20px',
color: 'var(--affine-icon-color)',
@@ -28,6 +29,7 @@ export const StyledStartIconWrapper = styled('div')(() => {
});
export const StyledEndIconWrapper = styled('div')(() => {
return {
+ display: 'flex',
marginLeft: '12px',
fontSize: '20px',
color: 'var(--affine-icon-color)',