mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
7003395a5f
commit
a5367145bf
3 changed files with 12 additions and 8 deletions
|
|
@ -186,10 +186,10 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex items-center mb-2">
|
<div class="flex items-center mb-2 pt-1">
|
||||||
<div class=" -translate-x-1.5">
|
<div class=" -translate-x-1.5 flex items-center">
|
||||||
<button
|
<button
|
||||||
class="p-1.5 bg-transparent transition rounded-lg"
|
class="p-0.5 bg-transparent transition rounded-lg"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
show = !show;
|
show = !show;
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@
|
||||||
export let selectedModelId = '';
|
export let selectedModelId = '';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex items-center mb-2">
|
<div class="flex items-center mb-2 pt-1">
|
||||||
<div class=" -translate-x-1.5">
|
<div class=" -translate-x-1.5 flex items-center">
|
||||||
<button
|
<button
|
||||||
class="p-1.5 bg-transparent transition rounded-lg"
|
class="p-0.5 bg-transparent transition rounded-lg"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
show = !show;
|
show = !show;
|
||||||
}}
|
}}
|
||||||
|
|
@ -21,7 +21,11 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" font-medium text-base">Settings</div>
|
<div class=" font-medium text-base flex items-center gap-1">
|
||||||
|
<div>
|
||||||
|
{$i18n.t('Settings')}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-1">
|
<div class="mt-1">
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
show = false;
|
show = false;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class=" px-3.5 py-2.5 h-screen">
|
<div class=" px-3.5 py-2.5 h-screen flex flex-col">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue