Skip to content

Commit 2830907

Browse files
allozaurbasnijholt
authored andcommitted
webui: Fix clickability around chat processing statistics UI (ggml-org#17278)
* fix: Better pointer events handling in chat processing info elements * chore: update webui build output
1 parent 0ecc73b commit 2830907

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tools/server/public/index.html.gz

-4 Bytes
Binary file not shown.

tools/server/webui/src/lib/components/app/chat/ChatProcessingInfo.svelte

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
});
7777
</script>
7878

79-
<div class="chat-processing-info-container" class:visible={showSlotsInfo}>
79+
<div class="chat-processing-info-container pointer-events-none" class:visible={showSlotsInfo}>
8080
<div class="chat-processing-info-content">
8181
{#each processingDetails as detail (detail)}
82-
<span class="chat-processing-info-detail">{detail}</span>
82+
<span class="chat-processing-info-detail pointer-events-auto">{detail}</span>
8383
{/each}
8484
</div>
8585
</div>
@@ -92,15 +92,13 @@
9292
padding: 1.5rem 1rem;
9393
opacity: 0;
9494
transform: translateY(50%);
95-
pointer-events: none;
9695
transition:
9796
opacity 300ms ease-out,
9897
transform 300ms ease-out;
9998
}
10099
101100
.chat-processing-info-container.visible {
102101
opacity: 1;
103-
pointer-events: auto;
104102
transform: translateY(0);
105103
}
106104

0 commit comments

Comments
 (0)