Page MenuHomePhabricator

[landing] fix investor card description container height
ClosedPublic

Authored by ginsu on Jun 9 2023, 3:13 PM.
Tags
None
Referenced Files
F3407143: D8174.id.diff
Wed, Dec 4, 4:12 AM
F3406610: D8174.id27625.diff
Wed, Dec 4, 2:31 AM
F3406609: D8174.id27624.diff
Wed, Dec 4, 2:31 AM
F3406608: D8174.diff
Wed, Dec 4, 2:31 AM
Unknown Object (File)
Sun, Dec 1, 1:13 AM
Unknown Object (File)
Thu, Nov 28, 12:13 AM
Unknown Object (File)
Sun, Nov 17, 2:18 AM
Unknown Object (File)
Sun, Nov 17, 1:40 AM
Subscribers

Details

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:

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 9 2023, 3:16 PM
Harbormaster failed remote builds in B20165: Diff 27624!
Harbormaster returned this revision to the author for changes because remote builds failed.Jun 9 2023, 3:27 PM
Harbormaster failed remote builds in B20166: Diff 27625!
ginsu requested review of this revision.Jun 9 2023, 3:44 PM
This revision is now accepted and ready to land.Jun 12 2023, 7:38 AM
This revision was landed with ongoing or failed builds.Aug 8 2023, 2:09 PM
This revision was automatically updated to reflect the committed changes.