player menu order

This commit is contained in:
nicfreeman1209 2021-05-05 11:21:31 +01:00
parent 335c2dd211
commit 946bafec5b
2 changed files with 11 additions and 14 deletions

View File

@ -143,11 +143,7 @@
</template>
</template>
<template
v-if="
tab === 'players' && !session.isSpectator
"
>
<template v-if="tab === 'players' && !session.isSpectator">
<!-- Users -->
<li class="headline">Players</li>
<li @click="addPlayer" v-if="players.length < 20">Add<em>[A]</em></li>

View File

@ -131,10 +131,6 @@
<template v-if="!session.isSpectator">
<li @click="changeName">
<font-awesome-icon icon="user-edit" />Rename
</li>
<li @click="removePlayer">
<font-awesome-icon icon="times-circle" />
Remove
</li>
<li @click="movePlayer()">
<font-awesome-icon icon="redo-alt" />
@ -144,6 +140,10 @@
<font-awesome-icon icon="exchange-alt" />
Swap seats
</li>
<li @click="removePlayer">
<font-awesome-icon icon="times-circle" />
Remove
</li>
<template v-if="!session.nomination">
<li @click="nominatePlayer()">
<font-awesome-icon icon="hand-point-right" />
@ -594,7 +594,8 @@ li.move:not(.from) .player .overlay svg.move {
}
/****** Vote icon ********/
.player .has-vote, .player .on-block {
.player .has-vote,
.player .on-block {
color: #fff;
filter: drop-shadow(0 0 3px black);
transition: opacity 250ms;