mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 23:00:53 -05:00
refac
This commit is contained in:
1 parent
27b48b70df
commit
db1ca1afab
3 files changed
+32
-6
No files matched your search
@@ -37,7 +37,7 @@
|
||||
>
|
||||
<Tooltip content={$i18n.t('Add Content')}>
|
||||
<button
|
||||
class="p-1.5 rounded-xl bg-transparent transition text-xs flex items-center space-x-1 hover:text-gray-900 dark:hover:text-gray-100"
|
||||
class="px-1 py-1.5 rounded-xl bg-transparent transition text-xs flex items-center text-gray-500 hover:text-gray-900 dark:hover:text-gray-100"
|
||||
aria-label={$i18n.t('Add Content')}
|
||||
on:click={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
@@ -146,8 +146,8 @@
|
||||
|
||||
{#snippet sidebar()}
|
||||
<div class="flex h-full min-h-0 w-full flex-col">
|
||||
<div class="flex shrink-0 items-center gap-1 p-1.5">
|
||||
<Search className="ml-1 size-3.5 shrink-0 text-gray-400" /><input
|
||||
<div class="flex shrink-0 items-center p-1.5">
|
||||
<Search className="mx-1 size-3.5 shrink-0 text-gray-400" /><input
|
||||
aria-label={$i18n.t('Search Collection')}
|
||||
placeholder={$i18n.t('Search Collection')}
|
||||
bind:value={inputQuery}
|
||||
@@ -158,7 +158,10 @@
|
||||
}}
|
||||
/>
|
||||
<Dropdown align="end"
|
||||
><button type="button" aria-label={$i18n.t('Filter and sort')} class="p-1 text-gray-500"
|
||||
><button
|
||||
type="button"
|
||||
aria-label={$i18n.t('Filter and sort')}
|
||||
class="flex h-7 w-6 shrink-0 items-center justify-center px-1 text-gray-500"
|
||||
><AdjustmentsHorizontal className="size-3.5" /></button
|
||||
>
|
||||
<div slot="content">
|
||||
|
||||
Reference in new issue
Block a user