Skip to content

Commit 2d14efe

Browse files
committed
address comments.
1 parent 9454bad commit 2d14efe

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/lib/components/billing/gradientBanner.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
top: 0;
9292
width: 100%;
9393
height: 100%;
94-
padding-left: 30vw;
94+
padding-left: 25vw;
9595
position: absolute;
9696
9797
@media (max-width: 768px) {
@@ -101,9 +101,11 @@
101101
}
102102
}
103103
104-
@media (max-width: 768px) {
105-
:global(.top-banner-button.position) {
104+
:global(.top-banner-button.position) {
105+
z-index: 1;
106+
@media (max-width: 768px) {
106107
position: absolute;
108+
padding-block-start: 1rem;
107109
padding-block-end: 3.7625rem;
108110
}
109111
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
{#if $organization?.$id && remainingDays > 0 && !hideBillingHeaderRoutes.includes(page.url.pathname) && show}
2424
<GradientBanner variant="image" on:close={handleClose}>
2525
<div class="banner-fullwidth-grid">
26-
<Typography.Text>
26+
<Typography.Text color="--fgcolor-neutral-primary">
2727
Your enterprise trial expires in <Badge
28+
size="xs"
2829
variant="secondary"
2930
content={remainingDays.toString()} /> days.
3031
</Typography.Text>
3132

32-
<Button secondary fullWidthMobile href={upgradeUrl}>Upgrade</Button>
33+
<Button size="xs" secondary fullWidthMobile href={upgradeUrl}>Upgrade</Button>
3334
</div>
3435
</GradientBanner>
3536
{/if}
@@ -54,6 +55,7 @@
5455
> :global(:last-child) {
5556
grid-column: 3;
5657
justify-self: end;
58+
margin-inline-end: 4px;
5759
}
5860
5961
@media (max-width: 768px) {

0 commit comments

Comments
 (0)