Skip to content

Commit

Permalink
fix: Add padding to empty dataset list (#4812)
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Oct 1, 2024
1 parent f61e026 commit c9a88df
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app/src/pages/project/DatasetSelectorPopoverContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,16 @@ function DatasetsListBox(props: {
const isEmpty = datasets.length === 0;
if (isEmpty) {
return (
<Flex
direction="column"
justifyContent="center"
alignItems="center"
flex="1 1 auto"
>
<Text>No datasets found</Text>
</Flex>
<View padding="size-200">
<Flex
direction="column"
justifyContent="center"
alignItems="center"
flex="1 1 auto"
>
<Text>No datasets found</Text>
</Flex>
</View>
);
}
return (
Expand Down

0 comments on commit c9a88df

Please sign in to comment.