From 9a92ae78c8c11db98f4240c289482a7b6166b852 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 18 May 2024 16:11:28 -0700 Subject: [PATCH] fix: hide show username interface option --- .../components/chat/Settings/Interface.svelte | 40 ++++++++++--------- src/lib/components/common/Modal.svelte | 2 +- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index 3e5dba767..e2cba7d46 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -217,27 +217,29 @@ -
-
-
- {$i18n.t('Display the username instead of You in the Chat')} -
+ {#if !$settings.chatBubble} +
+
+
+ {$i18n.t('Display the username instead of You in the Chat')} +
- + +
-
+ {/if}
diff --git a/src/lib/components/common/Modal.svelte b/src/lib/components/common/Modal.svelte index 49a31a168..0c4d4e552 100644 --- a/src/lib/components/common/Modal.svelte +++ b/src/lib/components/common/Modal.svelte @@ -18,7 +18,7 @@ } else if (size === 'md') { return 'w-[48rem]'; } else { - return 'w-[50rem]'; + return 'w-[52rem]'; } };