Page MenuHomePhabricator

[landing] fix investor card description container height
ClosedPublic

Authored by ginsu on Jun 9 2023, 3:13 PM.
Tags
None
Referenced Files
F1669531: D8174.id29773.diff
Sat, Apr 27, 10:57 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Mar 27 2024, 11:54 PM
Unknown Object (File)
Mar 18 2024, 3:08 PM
Unknown Object (File)
Mar 5 2024, 11:57 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.