Fix sidebar skeleton styling

This commit is contained in:
James Lyne 2021-05-28 00:20:05 +01:00
parent 57133c5681
commit 020cde7f31
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<template v-slot:default>
<RadioList class="section__content">
<PlayerListItem v-for="[account, player] in players" :key="account" :player="player"></PlayerListItem>
<span v-if="!players.size" class="section__skeleton">{{ skeletonPlayers }}</span>
<div v-if="!players.size" class="section__skeleton" aria-disabled="true" role="radio">{{ skeletonPlayers }}</div>
</RadioList>
</template>
</CollapsibleSection>

View File

@ -20,7 +20,7 @@
<template v-slot:default>
<RadioList class="section__content">
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="`${prefix}_${currentServer.id}_${name}`"></WorldListItem>
<span v-if="!worlds.size" class="section__skeleton">{{ skeletonWorlds }}</span>
<div v-if="!worlds.size" class="section__skeleton" aria-disabled="true" role="radio">{{ skeletonWorlds }}</div>
</RadioList>
</template>
</CollapsibleSection>