Reduce width of hero section text to better fit smaller screens
Sets a max-width of 160px on the hero section's text container in hero-section.tsx to prevent overflow on smaller screens. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8edd7914-5876-4d29-aab5-6ef744c7db4e Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/af8dabca-e746-4e53-9c29-d8d4d9cf30f5/9954342d-bca0-4146-a481-32c8d262f0f1.jpg
This commit is contained in:
parent
6cc5e202f7
commit
167e3168d6
|
|
@ -11,7 +11,7 @@ export function HeroSection() {
|
|||
}}>
|
||||
<div className="absolute inset-0 bg-black bg-opacity-20"></div>
|
||||
|
||||
<div className="relative text-center px-4 sm:px-6 lg:px-8 max-w-xs mx-auto">
|
||||
<div className="relative text-center px-4 sm:px-6 lg:px-8 mx-auto" style={{ maxWidth: "160px" }}>
|
||||
<h1 className="text-2xl md:text-3xl font-playfair font-bold text-white leading-tight mb-3">
|
||||
Movement to Feel Good
|
||||
</h1>
|
||||
|
|
|
|||
Loading…
Reference in New Issue