Skip to content

Commit 71836d4

Browse files
authored
Improve Hero text layout (#9)
1 parent 53cfa9f commit 71836d4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/pages/home/sections/Hero.module.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
color: var(--color-text-secondary);
7272
line-height: 1.6;
7373
margin-bottom: var(--space-xl);
74+
max-width: 480px;
75+
margin-left: auto;
76+
margin-right: auto;
7477
}
7578

7679
.actions {

src/pages/home/sections/Hero.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ export default function Hero() {
2424
>
2525
<h1 className={styles.title}>Lounge Smarter at LHR</h1>
2626

27-
<p className={styles.subtitle}>
28-
The perfect pre-flight companion for luxurious lounging<br></br>at London Heathrow Terminal 5
29-
</p>
27+
<p className={styles.subtitle}>The perfect pre-flight companion for luxurious lounging at London Heathrow Terminal 5</p>
3028

3129
<div className={styles.actions}>
3230
<a href={links.appStore} target="_blank" rel="noopener noreferrer" className={styles.appStoreLink}>

0 commit comments

Comments
 (0)