Skip to content

Commit 9fbea2c

Browse files
mayurpiseclaude
andcommitted
fix(web): center hero tagline and stats strip
Both blocks had a max-width but no horizontal auto-margin, so they hugged the left of the 900px hero content column instead of centering under the headline. text-align:center only centers inline content, not the boxes themselves. Add margin-inline:auto to both. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8d33188 commit 9fbea2c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

web/css/redesign-v24.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,7 @@
847847
}
848848
.hero-content .tagline {
849849
margin-bottom: 1.75rem;
850+
margin-inline: auto;
850851
max-width: 720px;
851852
}
852853

web/css/refresh-v4.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
overflow: hidden;
176176
background: var(--bg-secondary);
177177
max-width: 760px;
178+
margin-inline: auto;
178179
}
179180

180181
.tb-cell {

0 commit comments

Comments
 (0)