replaced list with buttons
This commit is contained in:
parent
4ecdd3be6a
commit
b858d50746
@ -24,9 +24,9 @@
|
||||
<div class="modpackList">
|
||||
{#each modpacks as pack}
|
||||
{#if pack == selectedPack}
|
||||
<div on:click={select(pack)} class="modpackElementSelected">{pack.Name}</div>
|
||||
<button on:click={select(pack)} class="modpackElementSelected">{pack.Name}</button>
|
||||
{:else}
|
||||
<div on:click={select(pack)} class="modpackElement">{pack.Name}</div>
|
||||
<button on:click={select(pack)} class="modpackElement">{pack.Name}</button>
|
||||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
@ -62,6 +62,10 @@
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
.modpackList button {
|
||||
border: none;
|
||||
color: inherit;
|
||||
}
|
||||
.modpackElement {
|
||||
width: 100%;
|
||||
background-color: #23232e;
|
||||
|
Loading…
Reference in New Issue
Block a user