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: ui issues (#3755)

Qia4fe7dd1193e
diff --git a/apps/core/src/components/affine/language-menu/index.tsx b/apps/core/src/components/affine/language-menu/index.tsx
index fb65afd6ba..20ae9b00ed 100644
--- a/apps/core/src/components/affine/language-menu/index.tsx
+++ b/apps/core/src/components/affine/language-menu/index.tsx
@@ -12,7 +12,6 @@ import type { ReactElement } from 'react';
import { useCallback } from 'react';
export const StyledListItem = styled(MenuItem)(() => ({
- width: '132px',
height: '38px',
textTransform: 'capitalize',
}));
diff --git a/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts b/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
index a500545903..abbcfb5a7d 100644
--- a/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
+++ b/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
@@ -1,4 +1,4 @@
-import { style } from '@vanilla-extract/css';
+import { type ComplexStyleRule, style } from '@vanilla-extract/css';
export const headerTitleContainer = style({
display: 'flex',
@@ -10,11 +10,11 @@ export const headerTitleContainer = style({
});
export const titleEditButton = style({
- flexGrow: 1,
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
-});
+ WebkitAppRegion: 'no-drag',
+} as ComplexStyleRule);
export const titleInput = style({
position: 'absolute',