fix(ui): fix hero section layout with flex column and proper sizing
Some checks failed
CI / Format (push) Failing after 6m17s
CI / Clippy (push) Successful in 2m19s
CI / Security Audit (push) Successful in 1m37s
CI / Tests (push) Has been skipped
CI / Build & Push Image (push) Has been skipped
CI / Changelog (push) Has been skipped

Add explicit flex-column layout to .hero-content so child elements
stack vertically instead of flowing inline. Set proper width and
min-height on hero graphic container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-02-18 22:01:28 +01:00
parent e0a4d2d888
commit 80faa4fa86

View File

@@ -288,6 +288,13 @@ h1, h2, h3, h4, h5, h6 {
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
width: 100%;
}
.hero-content {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.hero-badge {
@@ -304,6 +311,7 @@ h1, h2, h3, h4, h5, h6 {
line-height: 1.1;
color: #f1f5f9;
margin: 0 0 24px;
width: 100%;
}
.hero-title-accent {
@@ -319,6 +327,7 @@ h1, h2, h3, h4, h5, h6 {
color: #8892a8;
margin: 0 0 36px;
max-width: 520px;
width: 100%;
}
.hero-actions {
@@ -331,8 +340,8 @@ h1, h2, h3, h4, h5, h6 {
display: flex;
justify-content: center;
align-items: center;
max-width: 400px;
margin: 0 auto;
width: 100%;
min-height: 350px;
}
/* -- Social Proof -- */
@@ -682,8 +691,10 @@ h1, h2, h3, h4, h5, h6 {
}
.hero-graphic {
max-width: 300px;
max-width: 320px;
margin: 0 auto;
order: -1;
min-height: auto;
}
.features-grid {