Fixed filter position next to player btn

This commit is contained in:
Alexis
2023-12-09 22:18:05 +01:00
parent 29481a05bd
commit 1b6ad5ad0e

View File

@@ -125,13 +125,13 @@ function resetQueryValue() {
<i class="search-icon ph-fill ph-magnifying-glass"></i>
<input ref="qInput" name="recherche" type="text" v-model="q" title="Rechercher le monde" placeholder="Ville, point d'intérêt…">
<button v-if="hasPlayers" data-to-players class="player-btn" :tabindex="shouldBeActive ? 1 : 0" title="Aller à la position actuelle des joueurs">
<i class="pin-icon ph-fill ph-map-pin"></i>
</button>
<button v-if="hasGroupFilter" @click="setSearchMode('query')" class="close-btn" title="Enlever le filtre">
<i class="ph-light ph-x"></i>
</button>
<button v-if="hasPlayers" data-to-players class="player-btn" :tabindex="shouldBeActive ? 1 : 0" title="Aller à la position actuelle des joueurs">
<i class="pin-icon ph-fill ph-map-pin"></i>
</button>
</div>
<ul class="search-results" v-if="shouldBeActive">
@@ -301,6 +301,7 @@ function resetQueryValue() {
}
.player-btn {
margin-left: .25rem;
font-size: 1.5em;
color: var(--red-500);