A Layout Trick for Building a Contact List

1 · · Nov. 16, 2019, midnight
I recently needed to build a design for a contact list that looks like this: It consists of an email address and telephone number (with the potential to add more contact types), each with an icon on the right and text on the left. Each item needed to be a link (including the icon). The important thing was that the width of the items should be determined by the longest item. In the case of the image above, the item with the longest content would be the email address, so the second item (the te...