Skip to content

Commit

Permalink
Merge pull request #148 from evlim/main
Browse files Browse the repository at this point in the history
Prevent Text Clipping of Descenders in bg-clip-text by Adjusting Padding and Margins
  • Loading branch information
scosman authored Sep 12, 2024
2 parents 7a8ac18 + 4b5ca75 commit 874d51d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/routes/(marketing)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
<div class="hero-content text-center py-12">
<div class="max-w-xl">
<div
class="text-xl md:text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent mb-4 md:mb-8"
class="text-xl md:text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent mb-3 md:mb-7 pb-1"
>
SaaS Starter Demo
</div>
Expand Down Expand Up @@ -300,11 +300,11 @@
<div class="pt-20 pb-8 px-7">
<div class="max-w-lg mx-auto text-center">
<div
class="text-3xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent"
class="text-3xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent pb-2"
>
Explore the Features
</div>
<div class="mt-6 text-xl font-bold">
<div class="mt-4 text-xl font-bold">
And try them on this
<span
class="underline decoration-secondary decoration-[3px] md:decoration-[4px]"
Expand Down Expand Up @@ -361,12 +361,12 @@
<div class="hero-content text-center pb-16 pt-4 px-4">
<div class="max-w-lg">
<div
class="text-3xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent mt-4"
class="text-3xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent mt-4 pb-2"
>
See it in Action
</div>
<div
class="flex flex-col lg:flex-row mt-8 gap-6 place-content-center content-center"
class="flex flex-col lg:flex-row mt-6 gap-6 place-content-center content-center"
>
<div class="hidden md:block">
<a href="https://criticalmoments.io" target="_blank" class="link">
Expand Down

0 comments on commit 874d51d

Please sign in to comment.