Fix sidebar button alignment issue
This commit is contained in:
@@ -570,20 +570,6 @@
|
|||||||
}
|
}
|
||||||
}} on:dragenter={preventAll} />
|
}} on:dragenter={preventAll} />
|
||||||
{/each}
|
{/each}
|
||||||
<div class="flex flex-col items-center space-y-2 px-2 mb-2">
|
|
||||||
<BaseRoundedButton
|
|
||||||
onClick={() => {
|
|
||||||
reseter()
|
|
||||||
if($selectedCharID === -1 && $PlaygroundStore !== 0){
|
|
||||||
PlaygroundStore.set(0)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
selectedCharID.set(-1)
|
|
||||||
PlaygroundStore.set(1)
|
|
||||||
}}
|
|
||||||
><ShellIcon size="24" /></BaseRoundedButton
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="flex flex-col items-center space-y-2 px-2">
|
<div class="flex flex-col items-center space-y-2 px-2">
|
||||||
<BaseRoundedButton
|
<BaseRoundedButton
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
@@ -616,6 +602,20 @@
|
|||||||
></BaseRoundedButton
|
></BaseRoundedButton
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex flex-col items-center space-y-2 px-2 mb-2">
|
||||||
|
<BaseRoundedButton
|
||||||
|
onClick={() => {
|
||||||
|
reseter()
|
||||||
|
if($selectedCharID === -1 && $PlaygroundStore !== 0){
|
||||||
|
PlaygroundStore.set(0)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
selectedCharID.set(-1)
|
||||||
|
PlaygroundStore.set(1)
|
||||||
|
}}
|
||||||
|
><ShellIcon size="24" /></BaseRoundedButton
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user