Add a background to each of the options
This commit is contained in:
parent
1e8ae8e99f
commit
c282ec0378
1 changed files with 18 additions and 9 deletions
|
|
@ -103,6 +103,7 @@ function toggleOption(e: CustomEvent<string>) {
|
||||||
<h2>Options</h2>
|
<h2>Options</h2>
|
||||||
<div class="options-box">
|
<div class="options-box">
|
||||||
{#each visibleOptions as option}
|
{#each visibleOptions as option}
|
||||||
|
<div>
|
||||||
<SciFiCheckbox
|
<SciFiCheckbox
|
||||||
name="{option.name}"
|
name="{option.name}"
|
||||||
id="{option.id}"
|
id="{option.id}"
|
||||||
|
|
@ -112,6 +113,7 @@ function toggleOption(e: CustomEvent<string>) {
|
||||||
>
|
>
|
||||||
{option.name}
|
{option.name}
|
||||||
</SciFiCheckbox>
|
</SciFiCheckbox>
|
||||||
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -183,6 +185,13 @@ h1 {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 3px 7px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-button-container {
|
.info-button-container {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue