Skip to content

Commit 8ab75e1

Browse files
Merge pull request #477 from junogueira/fix/board-view-empty-group-title
2 parents f2219b8 + cf65eb7 commit 8ab75e1

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
@@ -1739,7 +1739,7 @@ svg.notion-page-icon {
17391739
}
17401740

17411741
.notion-board-th-empty {
1742-
margin-right: 4px;
1742+
margin-right: 6px;
17431743
position: relative;
17441744
top: 2px;
17451745
}

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+
{schema?.name ? `No ${schema.name}` : 'No Select'}
121121
</span>
122122
)}
123123

0 commit comments

Comments
 (0)