[fix] ungood gui
This commit is contained in:
@@ -604,7 +604,7 @@
|
||||
{#each currentChar.data.alternateGreetings as bias, i}
|
||||
<tr>
|
||||
<td class="font-medium truncate">
|
||||
<TextAreaInput bind:value={currentChar.data.alternateGreetings[i]} placeholder="..." />
|
||||
<TextAreaInput bind:value={currentChar.data.alternateGreetings[i]} placeholder="..." fullwidth />
|
||||
</td>
|
||||
<th class="font-medium cursor-pointer w-10">
|
||||
<button class="hover:text-green-500" on:click={() => {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import type { character, groupChat } from "src/ts/storage/database";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import TextInput from "../UI/GUI/TextInput.svelte";
|
||||
import { DownloadIcon, TrashIcon } from "lucide-svelte";
|
||||
import { DownloadIcon, EditIcon, TrashIcon } from "lucide-svelte";
|
||||
import { exportChat } from "src/ts/characters";
|
||||
import { alertConfirm, alertError } from "src/ts/alert";
|
||||
import { language } from "src/lang";
|
||||
@@ -47,7 +47,12 @@
|
||||
<span>{chat.name}</span>
|
||||
{/if}
|
||||
<div class="flex-grow flex justify-end">
|
||||
<button class="text-gray-500 hover:text-green-500 mr-2 cursor-pointer" on:click={async (e) => {
|
||||
<button class="text-gray-500 hover:text-green-500 mr-1 cursor-pointer" on:click={() => {
|
||||
editMode = !editMode
|
||||
}}>
|
||||
<EditIcon size={18}/>
|
||||
</button>
|
||||
<button class="text-gray-500 hover:text-green-500 mr-1 cursor-pointer" on:click={async (e) => {
|
||||
e.stopPropagation()
|
||||
exportChat(i)
|
||||
}}>
|
||||
|
||||
@@ -660,7 +660,7 @@
|
||||
{/if}
|
||||
|
||||
{#if $DynamicGUI}
|
||||
<div class="flex-grow h-full min-w-12" on:click={() => {
|
||||
<div class="flex-grow h-full min-w-6" on:click={() => {
|
||||
if($sideBarClosing){
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user