Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix overflow #1716

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/routes/partners/(components)/partners.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
use:useInView
>
<div
class="container relative z-10 mx-auto flex w-full flex-col items-center justify-between gap-16 md:flex-row"
class="container relative z-10 mx-auto flex w-full flex-col items-center justify-between gap-16 px-0 md:flex-row"
>
<div class="flex max-w-lg flex-col gap-8 px-8">
<div class="flex flex-col gap-4">
<h1 class="font-aeonik-pro text-title text-primary text-pretty">Partner Tiers</h1>
<p class="text-body text-secondary text-pretty font-medium">
As you continue to grow, so do your opportunities with Appwrite.
Our Partner Program is designed to scale with you as you grow.
With flexible tiers tailored to your success. A partnership built to
scale together for lasting success in a competitive market.
As you continue to grow, so do your opportunities with Appwrite. Our Partner
Program is designed to scale with you as you grow. With flexible tiers tailored
to your success. A partnership built to scale together for lasting success in a
competitive market.
</p>
</div>

Expand All @@ -63,12 +63,18 @@
</div>
</div>

<div class="mask relative overflow-hidden px-8" style:--mask-height="150px">
<div
class="mask relative max-w-[100vw] overflow-hidden md:px-8"
style:--mask-height="150px"
>
{#each tiers as { title, icon }, i}
<div
class={classNames('relative h-fit min-w-md rounded-3xl opacity-0', {
animate
})}
class={classNames(
'relative h-fit min-w-[98vw] rounded-3xl opacity-0 md:min-w-md',
{
animate: 'opacity-100'
}
)}
style:z-index={tiers.length - i}
style:animation-delay="{i * 0.1}s"
>
Expand Down