mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
49e9275c5b
commit
5adf9ed445
1 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@
|
|||
style="display: none"
|
||||
>
|
||||
<button
|
||||
class="px-1 hover:bg-gray-50 dark:hover:bg-gray-800 rounded flex items-center gap-0.5"
|
||||
class="px-1 hover:bg-gray-50 dark:hover:bg-gray-800 rounded flex items-center gap-0.5 min-w-fit"
|
||||
on:click={() => {
|
||||
const selection = window.getSelection();
|
||||
dispatch('explain', selection.toString());
|
||||
|
|
@ -85,9 +85,9 @@
|
|||
buttonsContainerElement.style.display = 'none';
|
||||
}}
|
||||
>
|
||||
<LightBlub className="size-3" />
|
||||
<LightBlub className="size-3 shrink-0" />
|
||||
|
||||
<div>Explain</div>
|
||||
<div class="shrink-0">Explain</div>
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in a new issue