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(component): new page button in all page (#3053)

Pratik Kumarbda28e04043f
diff --git a/packages/component/src/components/page-list/all-page.tsx b/packages/component/src/components/page-list/all-page.tsx
index 49513adb94..45edeff6a1 100644
--- a/packages/component/src/components/page-list/all-page.tsx
+++ b/packages/component/src/components/page-list/all-page.tsx
@@ -62,11 +62,17 @@ const AllPagesHead = ({
key: 'createDate',
content: t['Created'](),
proportion: 0.1,
+ tableCellStyle: {
+ width: '80px',
+ } satisfies CSSProperties,
},
{
key: 'updatedDate',
content: t['Updated'](),
proportion: 0.1,
+ tableCellStyle: {
+ width: '80px',
+ } satisfies CSSProperties,
},
{
key: 'unsortable_action',
@@ -80,7 +86,7 @@ const AllPagesHead = ({
showWhen: () => !isPublicWorkspace,
sortable: false,
tableCellStyle: {
- minWidth: '130px',
+ width: '130px',
} satisfies CSSProperties,
styles: {
justifyContent: 'flex-end',