"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "434595b3e6a638e6b704eefd3fcffba21951988d"
Unverified Commit 82b44740 authored by josephrocca's avatar josephrocca Committed by GitHub
Browse files

Fix scrollToBottom button container obstructing clicks on buttons beneath it

parent 9e4dd4b8
...@@ -291,9 +291,9 @@ ...@@ -291,9 +291,9 @@
<div class="flex flex-col max-w-6xl px-2.5 md:px-6 w-full"> <div class="flex flex-col max-w-6xl px-2.5 md:px-6 w-full">
<div class="relative"> <div class="relative">
{#if autoScroll === false && messages.length > 0} {#if autoScroll === false && messages.length > 0}
<div class=" absolute -top-12 left-0 right-0 flex justify-center z-30"> <div class=" absolute -top-12 left-0 right-0 flex justify-center z-30 pointer-events-none">
<button <button
class=" bg-white border border-gray-100 dark:border-none dark:bg-white/20 p-1.5 rounded-full" class=" bg-white border border-gray-100 dark:border-none dark:bg-white/20 p-1.5 rounded-full pointer-events-auto"
on:click={() => { on:click={() => {
autoScroll = true; autoScroll = true;
scrollToBottom(); scrollToBottom();
......
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