Skip to content

Commit 44e25ef

Browse files
committed
row styling
1 parent 08c0283 commit 44e25ef

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

airbyte-webapp/src/components/connection/CatalogTree/next/CatalogTreeTableRow.module.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121
gap: variables.$spacing-sm;
2222
display: flex;
2323
flex-direction: row;
24-
align-items: space-between;
24+
justify-content: flex-start;
25+
align-items: center;
2526
width: 100%;
27+
margin-top: variables.$spacing-lg;
28+
margin-bottom: variables.$spacing-lg;
2629

2730
&:hover {
2831
background: colors.$grey-30;
@@ -59,3 +62,8 @@
5962
min-width: 0;
6063
padding-left: variables.$spacing-xs;
6164
}
65+
66+
.arrowCell {
67+
width: 20px;
68+
padding: 0;
69+
}

airbyte-webapp/src/components/connection/CatalogTree/next/CatalogTreeTableRow.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
9494
{stream.stream?.name}
9595
</HeaderCell>
9696
{/* todo: this is weird, we have a cell nested inside a cell */}
97-
<Cell className={styles.streamRowItem}>
97+
<Cell>
9898
{disabled ? (
9999
<HeaderCell ellipsis title={syncSchema.syncMode}>
100100
{syncSchema.syncMode}
@@ -124,9 +124,7 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
124124
/>
125125
)}
126126
</HeaderCell>
127-
<Cell className={styles.streamRowItem}>
128-
<FontAwesomeIcon icon={faArrowRight} />
129-
</Cell>
127+
<FontAwesomeIcon icon={faArrowRight} className={styles.arrowCell} />
130128
<HeaderCell ellipsis title={destNamespace} className={styles.streamRowItem}>
131129
{destNamespace}
132130
</HeaderCell>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "scss/variables";
2+
13
.pillSelect {
2-
width: 100%;
4+
width: variables.$width-wide-menu;
35
}

airbyte-webapp/src/scss/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $spacing-page-bottom: 150px;
1818
$main-page-content-min-width: 960px;
1919

2020
$width-size-menu: 93px;
21+
$width-wide-menu: 200px;
2122

2223
$width-modal-sm: 492px;
2324
$width-modal-md: 585px;

0 commit comments

Comments
 (0)