[feat] add home button
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user