Skip to content

Commit 569b43e

Browse files
authored
Merge pull request #2711 from appwrite/fix-dat-975
2 parents 0ba7a6b + 88df9e9 commit 569b43e

4 files changed

Lines changed: 7 additions & 6 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
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">
5858
{#if $paymentMethods?.total && filteredMethods?.length > 0}
5959
<Table.Root
6060
let:root
6161
columns={[
62-
{ id: 'cc', width: 140 },
62+
{ id: 'cc', width: { min: 225 } },
6363
{ id: 'name', width: { min: 140 } },
6464
{ id: 'expiry', width: 100 },
6565
{ id: 'status', width: 110, hide: !hasPaymentError },

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
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">
116116
{#if organization?.paymentMethodId}
117117
<Table.Root
118118
let:root
119119
columns={[
120-
{ id: 'cc', width: { min: 155 } },
120+
{ id: 'cc', width: { min: 225 } },
121121
{ id: 'name', width: { min: 140 } },
122122
{ id: 'expiry', width: { min: 75 } },
123123
{ id: 'status', width: { min: 110 }, hide: !hasPaymentError },

0 commit comments

Comments
 (0)