From 692dd6d1c7782392e48c1dcddd3dc58dbeb7680b Mon Sep 17 00:00:00 2001 From: JustTemmie <47639983+JustTemmie@users.noreply.github.com> Date: Wed, 2 Jul 2025 21:42:24 +0200 Subject: [PATCH] feat: icons, user popus, and polish user popus are WEIRD, and i need help with layering --- components/MemberEntry.vue | 39 ++++++ components/Message.vue | 5 +- components/UserArea.vue | 20 +++ components/UserPopup.vue | 2 + layouts/client.vue | 8 +- .../[serverId]/channels/[channelId].vue | 14 +- public/icon.svg | 121 ++++++++++++++++++ 7 files changed, 196 insertions(+), 13 deletions(-) create mode 100644 components/MemberEntry.vue create mode 100644 components/UserArea.vue create mode 100644 public/icon.svg diff --git a/components/MemberEntry.vue b/components/MemberEntry.vue new file mode 100644 index 0000000..48c9242 --- /dev/null +++ b/components/MemberEntry.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/components/Message.vue b/components/Message.vue index 5cd7773..05392a0 100644 --- a/components/Message.vue +++ b/components/Message.vue @@ -81,7 +81,7 @@ onMounted(async () => { text-align: left; /* border: 1px solid lightcoral; */ display: grid; - grid-template-columns: 2dvw 1fr; + grid-template-columns: 2rem 1fr; align-items: center; column-gap: 1dvw; width: 100%; @@ -129,10 +129,11 @@ onMounted(async () => { } .left-column { + min-width: 2rem; display: flex; + justify-content: center; text-align: center; white-space: nowrap; - } .author-username { diff --git a/components/UserArea.vue b/components/UserArea.vue new file mode 100644 index 0000000..d922c3f --- /dev/null +++ b/components/UserArea.vue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/components/UserPopup.vue b/components/UserPopup.vue index 092e7d5..befe4f5 100644 --- a/components/UserPopup.vue +++ b/components/UserPopup.vue @@ -1,6 +1,8 @@