mirror of https://github.com/bra1n/townsquare.git
final styling changes, making pronouns icon always appear on the same side.
This commit is contained in:
parent
b932ce2a15
commit
9e249765de
|
@ -102,12 +102,9 @@
|
|||
@click="isMenuOpen = !isMenuOpen"
|
||||
:class="{ active: isMenuOpen }"
|
||||
>
|
||||
<font-awesome-icon
|
||||
icon="venus-mars"
|
||||
v-if="player.pronouns && player.pronouns !== ''"
|
||||
/>
|
||||
<span>{{ player.name }}</span>
|
||||
<div class="pronouns" v-if="player.pronouns && player.pronouns !== ''">
|
||||
<font-awesome-icon icon="venus-mars" v-if="player.pronouns" />
|
||||
<div class="pronouns" v-if="player.pronouns">
|
||||
<span>{{ player.pronouns }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -675,13 +672,15 @@ li.move:not(.from) .player .overlay svg.move {
|
|||
|
||||
svg {
|
||||
top: 3px;
|
||||
margin-right: 10px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#townsquare:not(.spectator) &:hover,
|
||||
|
|
|
@ -292,15 +292,6 @@ export default {
|
|||
left: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
flex-direction: row-reverse;
|
||||
|
||||
svg {
|
||||
margin-left: 10px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.pronouns {
|
||||
left: 110%;
|
||||
right: auto;
|
||||
|
@ -311,7 +302,6 @@ export default {
|
|||
right: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
} @else {
|
||||
// second half of players
|
||||
z-index: $i - 1;
|
||||
|
|
Loading…
Reference in New Issue