Fix skeletons not collapsing

This commit is contained in:
James Lyne 2021-05-29 00:09:00 +01:00
parent 789505e2d9
commit 34bacc044f
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>