Skip to content

Commit 2a0f45c

Browse files
committed
docs: align homepage hero content
1 parent 49a6084 commit 2a0f45c

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

changelogs/unreleased.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 2026-06-11
44

5-
- No unreleased changes.
5+
- Fixed the homepage hero desktop alignment so the tagline and action buttons align with the title block.
66

77
## 2026-06-10
88

website/styles/schema-dsl.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,14 @@ body:not(.notTopArrived) .rp-nav.rp-nav {
196196

197197
.rp-home-hero .rp-home-hero__container {
198198
gap: clamp(48px, 8vw, 104px);
199-
align-items: center;
199+
align-items: flex-start;
200200
}
201201

202202
.rp-home-hero .rp-home-hero__content {
203203
position: relative;
204+
display: flex;
205+
flex-direction: column;
206+
align-items: flex-start;
204207
max-width: 650px;
205208
}
206209

@@ -230,6 +233,8 @@ body:not(.notTopArrived) .rp-nav.rp-nav {
230233

231234
.rp-home-hero .rp-home-hero__tagline {
232235
max-width: 680px;
236+
margin-left: 0;
237+
text-align: left;
233238
color: var(--sdl-text-muted);
234239
line-height: 1.72;
235240
}
@@ -239,6 +244,8 @@ body:not(.notTopArrived) .rp-nav.rp-nav {
239244
flex-wrap: wrap;
240245
gap: 14px 16px;
241246
align-items: center;
247+
justify-content: flex-start;
248+
margin-left: 0;
242249
max-width: 100%;
243250
}
244251

@@ -420,6 +427,10 @@ body:not(.notTopArrived) .rp-nav.rp-nav {
420427
margin-inline: auto;
421428
}
422429

430+
.rp-home-hero .rp-home-hero__container {
431+
align-items: center;
432+
}
433+
423434
.rp-home-hero .rp-home-hero__title-brand {
424435
display: block;
425436
width: auto !important;
@@ -430,6 +441,7 @@ body:not(.notTopArrived) .rp-nav.rp-nav {
430441
.rp-home-hero .rp-home-hero__subtitle,
431442
.rp-home-hero .rp-home-hero__tagline {
432443
overflow-wrap: anywhere;
444+
text-align: center;
433445
white-space: normal;
434446
}
435447

0 commit comments

Comments
 (0)