Skip to content

Commit 181a2e9

Browse files
committed
fix: fix not applied height in case of empty table state (#13975)
1 parent bd254f0 commit 181a2e9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

airbyte-webapp/src/components/connection/ConnectionForm/SyncCatalogTable/SyncCatalogTable.module.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ $row-height: 40px;
1212
border-spacing: 0;
1313
max-width: 100%;
1414
border-radius: $border-radius;
15-
16-
tbody {
17-
min-height: 100px; // for empty state placeholder
18-
}
1915
}
2016

2117
.thead {
@@ -55,6 +51,8 @@ $row-height: 40px;
5551
height: $row-height;
5652

5753
&.emptyPlaceholder {
54+
height: $row-height * 2;
55+
5856
&:hover {
5957
background-color: colors.$foreground;
6058
}

airbyte-webapp/src/components/connection/ConnectionForm/SyncCatalogTable/SyncCatalogTable.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ export const SyncCatalogTable: FC<SyncCatalogTableProps> = ({ scrollParentContai
518518
</Box>
519519
<TableVirtuoso<SyncCatalogUIModel>
520520
totalCount={rows.length}
521+
style={{ minHeight: 80 }} // namespace row height + stream row height
521522
initialTopMostItemIndex={initialTopMostItemIndex}
522523
components={{
523524
Table,

0 commit comments

Comments
 (0)