mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 22:37:38 -05:00
chore: format
This commit is contained in:
1 parent
d14e5c154f
commit
0c64e5d596
69 files changed
+4381
-4272
No files matched your search
@@ -913,7 +913,9 @@
|
||||
{#if $showCallOverlay}
|
||||
<!-- A media element can only have one Web Audio source, even after its context closes. -->
|
||||
<audio bind:this={callAudioElement} class="hidden"></audio>
|
||||
<div class="max-w-lg w-full h-full max-h-[100dvh] flex flex-col justify-between px-3 pb-3 md:px-6 md:pb-6">
|
||||
<div
|
||||
class="max-w-lg w-full h-full max-h-[100dvh] flex flex-col justify-between px-3 pb-3 md:px-6 md:pb-6"
|
||||
>
|
||||
{#if camera}
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -238,7 +238,9 @@
|
||||
type="button"
|
||||
aria-label={$i18n.t('Compact: shorten older messages so this chat can keep going.')}
|
||||
class="slash-command-row flex items-center gap-2 w-full h-6 px-2 rounded-xl text-[0.8125rem] text-left transition-colors duration-75 hover:bg-gray-50/40 dark:hover:bg-gray-800/40
|
||||
{commandIdx === selectedIdx ? 'app-interactive-active selected-command-option-button' : ''} disabled:opacity-50"
|
||||
{commandIdx === selectedIdx
|
||||
? 'app-interactive-active selected-command-option-button'
|
||||
: ''} disabled:opacity-50"
|
||||
disabled={compactDisabled}
|
||||
on:mousedown={(e) => e.preventDefault()}
|
||||
on:click={() => {
|
||||
@@ -294,7 +296,9 @@
|
||||
type="button"
|
||||
aria-label={$i18n.t('Fork: fork the current chat branch into a new chat.')}
|
||||
class="slash-command-row flex items-center gap-2 w-full h-6 px-2 rounded-xl text-[0.8125rem] text-left transition-colors duration-75 hover:bg-gray-50/40 dark:hover:bg-gray-800/40
|
||||
{commandIdx === selectedIdx ? 'app-interactive-active selected-command-option-button' : ''} disabled:opacity-50"
|
||||
{commandIdx === selectedIdx
|
||||
? 'app-interactive-active selected-command-option-button'
|
||||
: ''} disabled:opacity-50"
|
||||
disabled={forkDisabled}
|
||||
on:mousedown={(e) => e.preventDefault()}
|
||||
on:click={() => {
|
||||
@@ -394,7 +398,9 @@
|
||||
{/if}
|
||||
</span>
|
||||
<span class="flex-1 min-w-0 flex items-center gap-2 overflow-hidden">
|
||||
<span class="min-w-0 flex-1 truncate">{$i18n.t(item.data.id === 'side' ? 'Side chat' : 'Comments')}</span>
|
||||
<span class="min-w-0 flex-1 truncate"
|
||||
>{$i18n.t(item.data.id === 'side' ? 'Side chat' : 'Comments')}</span
|
||||
>
|
||||
<span class="app-muted max-w-24 shrink-0 truncate text-[0.625rem]">/{item.data.id}</span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
@@ -162,7 +162,6 @@
|
||||
// if (domainData.some((value) => value > 0)) {
|
||||
// lastSoundTime = Date.now();
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
window.requestAnimationFrame(processFrame);
|
||||
|
||||
Reference in new issue
Block a user