Skip to content

Commit f9d00b3

Browse files
committed
fix: empty group title for board view
1 parent fea0d2f commit f9d00b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-notion-x/src/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ svg.notion-page-icon {
17341734
}
17351735

17361736
.notion-board-th-empty {
1737-
margin-right: 4px;
1737+
margin-right: 6px;
17381738
position: relative;
17391739
top: 2px;
17401740
}

packages/react-notion-x/src/third-party/collection-view-board.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ function Board({ collectionView, collectionData, collection, padding }) {
116116
/>
117117
) : (
118118
<span>
119-
<EmptyIcon className='notion-board-th-empty' /> No
120-
Select
119+
<EmptyIcon className='notion-board-th-empty' />
120+
{`No ${schema.name}` || 'No Select'}
121121
</span>
122122
)}
123123

0 commit comments

Comments
 (0)