mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 09:31:21 +00:00
refac
This commit is contained in:
parent
09030d5dd2
commit
1ce8616ab9
1 changed files with 8 additions and 6 deletions
|
|
@ -972,12 +972,14 @@
|
|||
<Icon name={fullWidth ? 'split-horizontal' : 'expand'} size={14} />
|
||||
</button>
|
||||
{/if}
|
||||
<button
|
||||
type="button"
|
||||
class="flex items-center justify-center w-7 h-7 rounded-lg text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-100 shrink-0"
|
||||
on:click={() => showTabs.set(false)}
|
||||
aria-label={$i18n.t('Hide tabs')}><Icon name="xmark" size={12} /></button
|
||||
>
|
||||
{#if !fullWidth}
|
||||
<button
|
||||
type="button"
|
||||
class="flex items-center justify-center w-7 h-7 rounded-lg text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-100 shrink-0"
|
||||
on:click={() => showTabs.set(false)}
|
||||
aria-label={$i18n.t('Hide tabs')}><Icon name="xmark" size={12} /></button
|
||||
>
|
||||
{/if}
|
||||
</div>
|
||||
<div
|
||||
class="relative flex-1 min-h-0 min-w-0 col-start-1 row-start-2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue