style fix
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en" className=" min-w-min">
|
||||||
<head>
|
<head>
|
||||||
<style jsx global>{`
|
<style jsx global>{`
|
||||||
html {
|
html {
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ export default function MainPage() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{JavaContent.sections.map((section, index) => (
|
{JavaContent.sections.map((section, index) => (
|
||||||
<section key={index} id={section.id} className={`py-12 md:py-24 ${index % 2 === 0 ? 'bg-muted' : ''}`}>
|
<section key={index} id={section.id} className={`py-12 md:py-24 w-full ${index % 2 === 0 ? 'bg-muted' : ''}`}>
|
||||||
<div className="container mx-auto px-4 md:px-6">
|
<div className="container mx-auto px-4 md:px-6">
|
||||||
<h2 className="text-3xl font-bold mb-8">{section.title}</h2>
|
<h2 className="text-3xl font-bold mb-8">{section.title}</h2>
|
||||||
<p className="text-lg mb-8">{section.description}</p>
|
<p className="text-lg mb-8">{section.description}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user