From 90e4b49b881b644465831cc3028bb44f0f7a2196 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 25 Sep 2025 14:36:25 -0500 Subject: [PATCH] refac/fix: onedrive input menu styling issue --- .../chat/MessageInput/InputMenu.svelte | 269 ++++++++++-------- 1 file changed, 146 insertions(+), 123 deletions(-) diff --git a/src/lib/components/chat/MessageInput/InputMenu.svelte b/src/lib/components/chat/MessageInput/InputMenu.svelte index a197db3d45..79b22a5882 100644 --- a/src/lib/components/chat/MessageInput/InputMenu.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu.svelte @@ -315,7 +315,7 @@ uploadGoogleDriveHandler(); }} > - + - { + tab = 'microsoft_onedrive'; + }} + > + - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{$i18n.t('Microsoft OneDrive')}
- - - {#if $config?.features?.enable_onedrive_personal} - { - uploadOneDriveHandler('personal'); - }} + + + + -
-
{$i18n.t('Microsoft OneDrive (personal)')}
-
-
- {/if} + + + + + + + + + + + + + - {#if $config?.features?.enable_onedrive_business} - { - uploadOneDriveHandler('organizations'); - }} - > -
-
- {$i18n.t('Microsoft OneDrive (work/school)')} -
-
{$i18n.t('Includes SharePoint')}
-
-
- {/if} -
- +
+
+ {$i18n.t('Microsoft OneDrive')} +
+ +
+ +
+
+ {/if} {/if} @@ -533,6 +510,52 @@ + {:else if tab === 'microsoft_onedrive'} +
+ + + {#if $config?.features?.enable_onedrive_personal} + { + uploadOneDriveHandler('personal'); + }} + > +
+
{$i18n.t('Microsoft OneDrive (personal)')}
+
+
+ {/if} + + {#if $config?.features?.enable_onedrive_business} + { + uploadOneDriveHandler('organizations'); + }} + > +
+
+ {$i18n.t('Microsoft OneDrive (work/school)')} +
+
{$i18n.t('Includes SharePoint')}
+
+
+ {/if} +
{/if}