Skip to content

Commit c17276c

Browse files
committed
Fix styling
1 parent 7ea1c51 commit c17276c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/HomepageFeatures/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function Feature({title, image, description, wip}: FeatureItem) {
120120

121121
export default function HomepageFeatures(): JSX.Element {
122122
return (
123-
<section className="px-8 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 max-w-[1300px] m-auto">
123+
<section className="px-8 pb-8 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 max-w-[1300px] m-auto bg-white">
124124
{FeatureList.map((props, idx) => (
125125
<Feature key={idx} {...props} />
126126
))}

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function HomepageHeader() {
88
return (
99
<header className="text-center py-8">
1010
<div className=" flex flex-col gap-2">
11-
<h1 className="text-white font-['Baloo_2'] text-[72px] font-black drop-shadow-md">
11+
<h1 className="text-white font-['Baloo_2'] md:text-[72px] text-[60px] font-black drop-shadow-md">
1212
{siteConfig.title}
1313
</h1>
1414
<p className="text-white text-2xl">{siteConfig.tagline}</p>
@@ -33,7 +33,7 @@ export default function Home(): JSX.Element {
3333
description="Description will go into a meta tag in <head />">
3434
<div style={{background: "linear-gradient(0deg,#3586FF 0%,#68A4FF 100%) 0% 0% / 100% 100% repeat"}}>
3535
<HomepageHeader/>
36-
<main className="overflow-hidden flex flex-col pb-8">
36+
<main className="overflow-hidden flex flex-col">
3737
<div className="w-[3800px] h-24 self-center relative" style={{color: "var(--ifm-background-surface-color)"}}>
3838
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 2730 1021" height="1em" width="1em"
3939
className="absolute top-[-25px] block min-w-full w-auto object-cover h-[1546px]" role="img">

0 commit comments

Comments
 (0)