style fix

This commit is contained in:
2024-06-20 08:06:36 +02:00
parent 40dcaadd4a
commit 6691ef961e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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>