Fix skeletons not collapsing
This commit is contained in:
parent
789505e2d9
commit
34bacc044f
@ -21,7 +21,7 @@
|
||||
<RadioList class="section__content" v-if="players.size" aria-labelledby="players-heading">
|
||||
<PlayerListItem v-for="[account, player] in players" :key="account" :player="player"></PlayerListItem>
|
||||
</RadioList>
|
||||
<div v-else class="section__skeleton">{{ skeletonPlayers }}</div>
|
||||
<div v-else class="section__content section__skeleton">{{ skeletonPlayers }}</div>
|
||||
</template>
|
||||
</CollapsibleSection>
|
||||
</template>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<RadioList v-if="worlds.size" class="section__content" aria-labelledby="maps-heading">
|
||||
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="`${prefix}_${currentServer}_${name}`"></WorldListItem>
|
||||
</RadioList>
|
||||
<div v-else class="section__skeleton">{{ skeletonWorlds }}</div>
|
||||
<div v-else class="section__content section__skeleton">{{ skeletonWorlds }}</div>
|
||||
</template>
|
||||
</CollapsibleSection>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user