Skip to content

Commit bab0d6b

Browse files
committed
chore: update styles for empty data sources page
1 parent c889552 commit bab0d6b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/root-cms/ui/pages/DataPage/DataPage.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
margin-top: 20px;
1717
}
1818

19+
.DataPage__emptyText {
20+
padding: 20px;
21+
}
22+
1923
.DataPage__DataSourcesTable__filters {
2024
margin-bottom: 20px;
2125
display: flex;

packages/root-cms/ui/pages/DataPage/DataPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ DataPage.DataSourcesTable = () => {
186186
</Table>
187187
)}
188188
{!loading && filteredDataSources.length === 0 && (
189-
<Text as="p">No data sources found for this filter.</Text>
189+
<Text className="DataPage__emptyText">No data sources found.</Text>
190190
)}
191191
</Surface>
192192
</div>

0 commit comments

Comments
 (0)