From 15cf5a13c84a50f0bb67a383ec093d999fbf278a Mon Sep 17 00:00:00 2001 From: hazycora Date: Thu, 21 Dec 2023 06:46:47 -0600 Subject: [PATCH] update user template --- views/user.eta | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/views/user.eta b/views/user.eta index 5f91789..e88f516 100644 --- a/views/user.eta +++ b/views/user.eta @@ -10,13 +10,17 @@
-

<%= it.user.full_name || it.user.username %> @<%= it.user.username %>

-

<%= description %>

+

+ <%= it.user.full_name || it.user.username %> + @<%= it.user.username %>aaaaaaaaaa +

+

<%= description %> +

- <% if (it.user.avatar_url) { %> - - <% } %> + <% if (it.user.avatar_url) { %> + + <% } %>
@@ -42,20 +46,21 @@ .user .title { white-space: nowrap; display: flex; - } - .user .title span:not(.username) { - display: flex; - align-items: center; gap: 1rem; - font-size: 3rem; - font-weight: 600; - color: #aeb3d0; + align-items: center; + } + .user .title .name { + font-size: 4rem; + overflow: hidden; + text-overflow: ellipsis; + flex-shrink: 0; } .user .title .username { - font-size: 1.75rem; - gap: 0.5rem; + font-size: 3.5rem; font-weight: 400; color: #6d728f; + overflow: hidden; + text-overflow: ellipsis; } .fact { display: flex;