Skip to content

Commit e526c58

Browse files
committed
Make hero preview box wider
- Increased hero-content max-width from 1000px to 1200px - Set app-preview max-width to 900px for optimal viewing - Added horizontal padding to hero-content for better mobile spacing
1 parent 5d6d477 commit e526c58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/Hero.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ import '../styles/global.css';
156156
.hero-content {
157157
position: relative;
158158
text-align: center;
159-
max-width: 1000px;
159+
max-width: 1200px;
160160
margin: 0 auto;
161+
padding: 0 1rem;
161162
}
162163

163164
.hero-badge {
@@ -286,6 +287,9 @@ import '../styles/global.css';
286287
.app-preview {
287288
margin-top: 2rem;
288289
perspective: 1000px;
290+
max-width: 900px;
291+
margin-left: auto;
292+
margin-right: auto;
289293
}
290294

291295
.preview-window {

0 commit comments

Comments
 (0)