HomePhabricator
Diffusion Comm 7a3c6bc035ac

[landing] fix investor card description container height

Description

[landing] fix investor card description container height

Summary:
I actually did find a small bug with the investor card height. The height was still 56px, but when we decreased the font size/line height this 56px was too big. This diff fixes this bug by making the value of the height dynamically change as well based on the screen width. To determine these clamp values the same strategy from D8173 was used here.

Depends on D8173

Test Plan:
Please see the before and after

Before:

Screenshot 2023-06-09 at 6.09.18 PM.png (898×942 px, 108 KB)

After:

Reviewers: atul, kamil

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8174

Details

Provenance
ginsuAuthored on Jun 9 2023, 11:39 AM
Reviewer
atul
Differential Revision
D8174: [landing] fix investor card description container height
Parents
rCOMM35aa546e7341: [landing] make typography responsive
Branches
Unknown
Tags
Unknown