mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-09-19 09:27:29 +02:00
fix: label storage location choices
This commit is contained in:
@@ -214,19 +214,21 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if isAndroid}
|
{#if isAndroid}
|
||||||
<div class="location-selector">
|
<div class="location-selector" role="group" aria-labelledby="storage-location-label">
|
||||||
<label class="location-label">Location</label>
|
<span id="storage-location-label" class="location-label">Location</span>
|
||||||
<div class="location-options">
|
<div class="location-options">
|
||||||
{#each storageLocations as loc}
|
{#each storageLocations as loc}
|
||||||
<button
|
<button
|
||||||
class="location-option"
|
class="location-option"
|
||||||
class:active={selectedLocation === loc.label}
|
class:active={selectedLocation === loc.label}
|
||||||
|
aria-pressed={selectedLocation === loc.label}
|
||||||
onclick={() => selectedLocation = loc.label}
|
onclick={() => selectedLocation = loc.label}
|
||||||
>{loc.label}</button>
|
>{loc.label}</button>
|
||||||
{/each}
|
{/each}
|
||||||
<button
|
<button
|
||||||
class="location-option"
|
class="location-option"
|
||||||
class:active={selectedLocation === 'Custom'}
|
class:active={selectedLocation === 'Custom'}
|
||||||
|
aria-pressed={selectedLocation === 'Custom'}
|
||||||
onclick={() => selectedLocation = 'Custom'}
|
onclick={() => selectedLocation = 'Custom'}
|
||||||
>Custom</button>
|
>Custom</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user