Skip to content

Commit 0172dbd

Browse files
committed
fix(marketing): keep the hero headline above the provider marks
1 parent a28478f commit 0172dbd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/marketing/src/pages/index.astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,10 @@ import { RELEASES_URL } from "../lib/releases";
412412

413413
.hero-inner {
414414
position: relative;
415+
/* Above .hero-float. The provider marks are decoration and must never
416+
paint over the headline — at narrow widths they overlap it, and without
417+
this the tile clipped the first glyph of "The control plane". */
418+
z-index: 2;
415419
text-align: center;
416420
}
417421

@@ -576,7 +580,9 @@ import { RELEASES_URL } from "../lib/releases";
576580
.hero-float-mark.hf-codex { top: 2%; right: 3%; }
577581
.hero-float-mark.hf-opencode { top: 26%; left: 2%; }
578582
.hero-float-mark.hf-cursor { top: 24%; right: 2%; }
579-
.hero-float-mark.hf-grok { top: 48%; left: 2%; transform: rotate(3deg); }
583+
/* Sits between the OpenCode mark and the headline. Lower than this and it
584+
crowds the title once the heading wraps to two lines. */
585+
.hero-float-mark.hf-grok { top: 38%; left: 2%; transform: rotate(3deg); }
580586
}
581587

582588
@media (max-width: 820px) {

0 commit comments

Comments
 (0)