"git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "6b57d8d3701b2a994928e6ba7a310796b4939007"
Commit 240cbda0 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: draggable items in sidebar

parent d4c19306
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
</div> </div>
<div class="bg-white dark:bg-gray-900"> <div class="bg-white dark:bg-gray-900">
<div class="max-w-6xl px-2.5 lg:px-16 mx-auto inset-x-0"> <div class="max-w-6xl px-2.5 md:px-16 mx-auto inset-x-0">
<div class=" pb-2"> <div class=" pb-2">
<input <input
bind:this={filesInputElement} bind:this={filesInputElement}
......
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
id="sidebar-new-chat-button" id="sidebar-new-chat-button"
class="flex flex-1 justify-between rounded-xl px-2 py-2 hover:bg-gray-100 dark:hover:bg-gray-850 transition" class="flex flex-1 justify-between rounded-xl px-2 py-2 hover:bg-gray-100 dark:hover:bg-gray-850 transition"
href="/" href="/"
draggable="false"
on:click={async () => { on:click={async () => {
selectedChatId = null; selectedChatId = null;
...@@ -308,6 +309,7 @@ ...@@ -308,6 +309,7 @@
selectedChatId = null; selectedChatId = null;
chatId.set(''); chatId.set('');
}} }}
draggable="false"
> >
<div class="self-center"> <div class="self-center">
<svg <svg
...@@ -665,7 +667,6 @@ ...@@ -665,7 +667,6 @@
</div> </div>
</div> </div>
{#if $mobile}
<div class="px-2.5"> <div class="px-2.5">
<!-- <hr class=" border-gray-900 mb-1 w-full" /> --> <!-- <hr class=" border-gray-900 mb-1 w-full" /> -->
...@@ -698,10 +699,9 @@ ...@@ -698,10 +699,9 @@
{/if} {/if}
</div> </div>
</div> </div>
{/if}
</div> </div>
<div <!-- <div
id="sidebar-handle" id="sidebar-handle"
class=" hidden md:fixed left-0 top-[50dvh] -translate-y-1/2 transition-transform translate-x-[255px] md:translate-x-[260px] rotate-0" class=" hidden md:fixed left-0 top-[50dvh] -translate-y-1/2 transition-transform translate-x-[255px] md:translate-x-[260px] rotate-0"
> >
...@@ -736,7 +736,7 @@ ...@@ -736,7 +736,7 @@
</span> </span>
</button> </button>
</Tooltip> </Tooltip>
</div> </div> -->
</div> </div>
<style> <style>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment