Skip to content

Commit

Permalink
Make buttons more responsive
Browse files Browse the repository at this point in the history
On tablets and larger phone screens, these two were lacking a margin
setting (leading to a "squished" look). This commit resolves that.
  • Loading branch information
Dante Mogrim authored and Dante Mogrim committed Oct 14, 2024
1 parent 81c4728 commit feb1eb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ export default function LandingPage() {
</div>
</div>
</FadeIn>
<div className="mt-4 flex gap-4 justify-start font-semibold md:block md:mt-12">
<div className="flex items-start justify-start gap-4 mt-4 font-semibold md:mt-12">
<button
className="bg-white shadow-lg px-9 py-3 rounded-full border border-zinc-200 hover:bg-zinc-100 transition-all duration-300"
className="py-3 transition-all duration-300 bg-white border rounded-full shadow-lg px-9 border-zinc-200 hover:bg-zinc-100"
onClick={() =>
document
.getElementById("learn-more")
Expand All @@ -101,7 +101,7 @@ export default function LandingPage() {
</button>
<Link
to="/editor"
className="md:mt-2 inline-block bg-sky-900 text-white ps-7 pe-6 py-3 rounded-full shadow-lg hover:bg-sky-800 transition-all duration-300"
className="inline-block py-3 text-white transition-all duration-300 rounded-full shadow-lg bg-sky-900 ps-7 pe-6 hover:bg-sky-800"
>
Try it for yourself <i className="bi bi-arrow-right ms-1"></i>
</Link>
Expand Down

0 comments on commit feb1eb8

Please sign in to comment.