HomePhabricator
Diffusion Comm 5a78c17cf968

[landing] Keep hero `TextLoop` to two lines

Tags
None
Referenced Files
F19587: two-line.mp4
Mar 16 2022, 12:14 PM
Subscribers
None

Description

[landing] Keep hero TextLoop to two lines

Summary:
Use clamp to interpolate between font-sizes that ensure that things remain on two lines

now depends on D3430

Test Plan:
Set the text to "gaming guilds" (the longest one) and made sure the text never broke to three lines. Also checked iPhone 13 mini to make sure that it looks okay at a very low breakpoint

Reviewers: def-au1t, palys-swm, varun, benschac

Reviewed By: palys-swm, benschac

Subscribers: ashoat, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3392

Details

Provenance
atulAuthored on Mar 15 2022, 12:00 PM
Reviewer
tomek
Differential Revision
D3392: [landing] Keep hero `TextLoop` to two lines
Parents
rCOMMe266efa148f6: [landing] Fix "fluid" `font-size`/`padding-bottom` for `info-block:title`
Branches
Unknown
Tags
Unknown