Skip to content

Commit 88df9e9

Browse files
committed
fix: table overflows for payments.
1 parent b1976e0 commit 88df9e9

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/lib/components/cardGrid.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script lang="ts">
22
import { Divider, Layout, Card, Typography } from '@appwrite.io/pink-svelte';
33
4+
export let overflow = true;
45
export let hideFooter = false;
56
export let gap: 'none' | 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl' = 'l';
67
</script>
@@ -16,7 +17,7 @@
1617
</Typography.Text>
1718
{/if}
1819
</Layout.Stack>
19-
<div style:overflow="visible">
20+
<div style:overflow={overflow ? 'visible' : 'hidden'}>
2021
<Layout.Stack {gap}>
2122
<slot name="aside" />
2223
</Layout.Stack>

src/routes/(console)/account/payments/paymentMethods.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
$: hasPaymentError = filteredMethods.some((method) => method?.lastError || method?.expired);
5252
</script>
5353

54-
<CardGrid>
54+
<CardGrid overflow={false}>
5555
<svelte:fragment slot="title">Payment methods</svelte:fragment>
5656
View or update your payment methods. These can be applied to any organizations you have created.
5757
<svelte:fragment slot="aside">

src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
]);
8686
</script>
8787

88-
<CardGrid>
88+
<CardGrid overflow={false}>
8989
<svelte:fragment slot="title">Payment history</svelte:fragment>
9090
Transaction history for this organization. Download invoices for more details about your payments.
9191
<svelte:fragment slot="aside">

src/routes/(console)/organization-[organization]/billing/paymentMethods.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
backupPaymentMethod?.expired;
110110
</script>
111111

112-
<CardGrid>
112+
<CardGrid overflow={false}>
113113
<svelte:fragment slot="title">Payment methods</svelte:fragment>
114114
View or update your organization payment methods here.
115115
<svelte:fragment slot="aside">

0 commit comments

Comments
 (0)