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(electron): app tabs width styles (#10131)

pengx175be4d677daba
diff --git a/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts b/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
index 9a8b643087..9a2ac8e911 100644
--- a/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
+++ b/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
@@ -81,6 +81,7 @@ export const tab = style({
height: 32,
minWidth: 32,
maxWidth: tabMaxWidth,
+ width: 200,
overflow: 'clip',
background: cssVarV2('tab/tabBackground/default'),
display: 'flex',
@@ -113,6 +114,7 @@ export const splitViewLabel = style({
fontWeight: 500,
alignItems: 'center',
cursor: 'default',
+ flex: 1,
selectors: {
'&[data-active="true"]': {
background: cssVarV2('tab/tabBackground/active'),