Skip to content

Commit 80065a9

Browse files
committed
fix(marketing): keep mobile decorations clear of translations
1 parent fcc4595 commit 80065a9

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

‎apps/marketing/src/styles/homepage.css‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ html:not([data-platform]) .dl-icon--apple {
368368
margin-bottom: 96px;
369369
}
370370

371-
/* Four above the headline, two beside the CTA. Keeps the copy clear. */
371+
/* Keep decoration above translated copy, whose height varies by locale. */
372372
.hf-claude {
373373
--x: -37vw;
374374
--y: 44px;
@@ -393,31 +393,17 @@ html:not([data-platform]) .dl-icon--apple {
393393
--s: 64px;
394394
--rot: 8deg;
395395
}
396-
.hf-grok {
397-
--x: -36vw;
398-
--y: 474px;
399-
--s: 64px;
400-
--rot: -6deg;
401-
}
396+
.hf-grok,
402397
.hf-cursor {
403-
--x: 36vw;
404-
--y: 474px;
405-
--s: 64px;
406-
--rot: 7deg;
398+
display: none;
407399
}
408400
}
409401

410402
@media (max-width: 340px) {
411403
.hf-opencode,
412-
.hf-antigravity,
413-
.hf-grok,
414-
.hf-cursor {
404+
.hf-antigravity {
415405
--s: 48px;
416406
}
417-
.hf-grok,
418-
.hf-cursor {
419-
--y: 580px;
420-
}
421407
}
422408

423409
.hero-preview {

0 commit comments

Comments
 (0)