From 06621e31f14fdb12b29aafcc22140f2c2e3f112c Mon Sep 17 00:00:00 2001 From: William Grant Date: Thu, 8 Feb 2024 11:48:32 +1100 Subject: [PATCH] fix: stop admin icon in message avatar from clipping --- ts/components/avatar/Avatar.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ts/components/avatar/Avatar.tsx b/ts/components/avatar/Avatar.tsx index 02c502829..43134b21c 100644 --- a/ts/components/avatar/Avatar.tsx +++ b/ts/components/avatar/Avatar.tsx @@ -48,15 +48,14 @@ const CrownWrapper = styled.div` align-items: center; justify-content: center; position: absolute; - bottom: 0%; - right: 12%; - height: 20px; - width: 20px; + bottom: 11%; + right: 11%; + height: 18px; + width: 18px; transform: translate(20%, 20%); // getting over 23% creates a glitch color: #f7c347; background: var(--background-primary-color); border-radius: 50%; - box-shadow: var(--drop-shadow); `; export const CrownIcon = () => {