[feat] add home button

This commit is contained in:
kwaroran
2023-06-04 10:53:01 +09:00
parent e3b61ed24f
commit 96ac90b9c6

View File

@@ -23,6 +23,7 @@
PlusIcon, PlusIcon,
FolderIcon, FolderIcon,
FolderOpenIcon, FolderOpenIcon,
HomeIcon,
} from "lucide-svelte"; } from "lucide-svelte";
import { import {
characterFormatUpdate, characterFormatUpdate,
@@ -507,6 +508,12 @@
}}><Settings /></BarIcon }}><Settings /></BarIcon
> >
<div class="mt-2"></div> <div class="mt-2"></div>
<BarIcon
onClick={() => {
reseter();
selectedCharID.set(-1)
}}><HomeIcon /></BarIcon>
<div class="mt-2"></div>
<BarIcon <BarIcon
onClick={() => { onClick={() => {
reseter(); reseter();
@@ -572,9 +579,6 @@
.minw96 { .minw96 {
min-width: 24rem; /* 384px */ min-width: 24rem; /* 384px */
} }
.title {
margin-bottom: 0.5rem;
}
.editMode { .editMode {
min-width: 6rem; min-width: 6rem;
} }