fix: design review

This commit is contained in:
Arman committed 2024-06-13 13:48:41 +02:00
1 parent 77d5518273
commit afcc04d14d
2 files changed
+9 -4

No files matched your search

+6 -1
View File
@@ -20,6 +20,7 @@
import type { OrganizationUsage } from '$lib/sdk/billing';
import { sdk } from '$lib/stores/sdk';
import { BillingPlan } from '$lib/constants';
import { tooltip } from '$lib/actions/tooltip';
export let tier: Tier;
@@ -71,7 +72,11 @@
<TableHeader>
<TableCellHead>Resource</TableCellHead>
<TableCellHead>Free limit</TableCellHead>
<TableCellHead>Excess usage</TableCellHead>
<TableCellHead>
Excess usage <span
use:tooltip={{ content: 'Metrics are estimates updated every 24 hours' }}
class="icon-info"></span>
</TableCellHead>
</TableHeader>
<TableBody>
{#if excess?.members}
@@ -351,17 +351,17 @@
{/if}
{/if}
{#if !isUpgrade && billingPlan === BillingPlan.FREE && $organization.billingPlan !== BillingPlan.FREE}
<FormList class="u-margin-block-start-16">
<FormList class="u-margin-block-start-24">
<InputSelect
id="reason"
label="What made you decide to change your plan?"
label="Reason for plan change"
placeholder="Select one"
required
options={feedbackDowngradeOptions}
bind:value={feedbackDowngradeReason} />
<InputTextarea
id="comment"
label="Your feedback here"
label="If you need to elaborate, please do so here"
placeholder="Enter feedback"
bind:value={feedbackMessage} />
</FormList>