From c1820f62f7f884c064d8bd291c30ece08f7d22c5 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 17 Nov 2018 12:24:09 -0800 Subject: [PATCH] fix(design): fix large metadata cells (#655) fixes #654 --- routes/_components/profile/AccountProfileMeta.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/routes/_components/profile/AccountProfileMeta.html b/routes/_components/profile/AccountProfileMeta.html index 4ddc644..1ae2b4c 100644 --- a/routes/_components/profile/AccountProfileMeta.html +++ b/routes/_components/profile/AccountProfileMeta.html @@ -32,7 +32,7 @@ .account-profile-meta { grid-area: meta; display: grid; - grid-template-columns: max-content 1fr min-content; + grid-template-columns: auto 1fr max-content; grid-row-gap: 5px; align-items: center; padding: 10px 0; @@ -65,7 +65,7 @@ text-transform: uppercase; color: var(--deemphasized-text-color); position: relative; - max-width: 40vw; + max-width: 300px; } .account-profile-meta-name:after { @@ -90,6 +90,7 @@ } .account-profile-meta-name { padding: 5px 10px 5px 0; + max-width: 40vw; } .account-profile-meta-value { padding: 5px 10px 5px 10px;