mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +00:00
refac
This commit is contained in:
parent
49e9275c5b
commit
5adf9ed445
@ -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 New Issue
Block a user