From 91a8b072573ab9a984b643bf0f8a534daf711e5b Mon Sep 17 00:00:00 2001 From: Jip Fr Date: Sun, 26 Nov 2023 14:40:35 +0100 Subject: [PATCH] Hide device name in navigation on smaller devices --- src/components/Avatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Avatar.tsx b/src/components/Avatar.tsx index 0b2933e2..0efd8e77 100644 --- a/src/components/Avatar.tsx +++ b/src/components/Avatar.tsx @@ -71,7 +71,7 @@ export function UserAvatar(props: { bottom={props.bottom} /> {props.withName && bufferSeed ? ( - + {deviceName.length >= 20 ? `${deviceName.slice(0, 20 - 1)}…` : deviceName}