Skip to content

Commit 1578fbb

Browse files
committed
fix: adjust layout spacing and update global styles with motion plugin
1 parent 2405f72 commit 1578fbb

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const posts = Object.values(postsGlob).map(
5151
class="w-full max-w-[1200px] px-12 tracking-wide transition-all max-sm:px-4"
5252
>
5353
<section
54-
class="flex min-h-screen flex-col gap-8 pb-32 pt-64 sm:justify-center"
54+
class="flex min-h-screen flex-col gap-4 pb-32 pt-64 sm:justify-center"
5555
>
5656
<h1
5757
class="text-[clamp(2rem,7vw,3rem)] leading-tight font-medium tracking-tight motion-preset-slide-up motion-preset-fade-lg"

src/styles/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@import "tailwindcss";
22
@plugin "@tailwindcss/typography";
3+
@plugin "tailwindcss-motion";

tailwind.config.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ module.exports = {
44
theme: {
55
extend: {},
66
},
7-
plugins: [require('tailwindcss-motion')],
87
}

0 commit comments

Comments
 (0)