Skip to content

Commit

Permalink
Remove <BlockStack> surrounding Browse button(s) and add margin-top
Browse files Browse the repository at this point in the history
  • Loading branch information
bkspace committed Oct 17, 2023
1 parent ed9936a commit ad92c84
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
text-overflow: ellipsis;
color: var(--p-text-subdued);
}

.CustomerModalActivator {
margin-top: var(--p-space-2);
}
17 changes: 11 additions & 6 deletions src/components/CustomerEligibilityCard/CustomerEligibilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,25 @@ export function CustomerEligibilityCard({
/>

{eligibility.value === Eligibility.CustomerSegments && (
<BlockStack gap="400">
{customerSegmentSelector}
<>
<div className={styles.customerSelectorActivator}>
{customerSegmentSelector}
</div>

<SelectedCustomerSegmentsList
selectedCustomerSegments={selectedCustomerSegments}
/>
</BlockStack>
</>
)}

{eligibility.value === Eligibility.Customers && (
<BlockStack gap="400">
{customerSelector}
<>
<div className={styles.customerSelectorActivator}>
{customerSelector}
</div>

<SelectedCustomersList selectedCustomers={selectedCustomers} />
</BlockStack>
</>
)}
</BlockStack>
</Card>
Expand Down

0 comments on commit ad92c84

Please sign in to comment.