mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
"Context menu" generic span element modified into button (#163)
Co-authored-by: valtteri.murtonen@puheet.com <valtteri.murtonen@puheet.com> Reviewed-on: https://codeberg.org/Hyperpipe/Hyperpipe/pulls/163 Co-authored-by: banaanihillo@protonmail.ch <banaanihillo@protonmail.ch> Co-committed-by: banaanihillo@protonmail.ch <banaanihillo@protonmail.ch>
This commit is contained in:
parent
2eb10ac18a
commit
d6ecb1217f
1 changed files with 17 additions and 13 deletions
|
@ -132,30 +132,31 @@ const openSong = el => {
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span
|
<button
|
||||||
class="bi bi-three-dots-vertical popup-wrap ign"
|
class="bi bi-three-dots-vertical popup-wrap ign"
|
||||||
@mouseenter="show = true"
|
@mouseenter="show = true"
|
||||||
@mouseleave="show = false">
|
@mouseleave="show = false"
|
||||||
|
@click.enter="show = !show">
|
||||||
<Transition name="fade">
|
<Transition name="fade">
|
||||||
<div v-if="show" class="popup ign">
|
<div v-if="show" class="popup ign">
|
||||||
<span
|
<button
|
||||||
v-if="playlistId || offlineUri"
|
v-if="playlistId || offlineUri"
|
||||||
class="bi bi-dash-lg clickable ign"
|
class="bi bi-dash-lg clickable ign"
|
||||||
@click="Remove"></span>
|
@click="Remove"></button>
|
||||||
<span
|
<button
|
||||||
class="bi bi-chevron-bar-right clickable ign"
|
class="bi bi-chevron-bar-right clickable ign"
|
||||||
@click="appendSong"></span>
|
@click="appendSong"></button>
|
||||||
<span
|
<button
|
||||||
class="bi bi-collection clickable ign"
|
class="bi bi-collection clickable ign"
|
||||||
@click="showPl = true"></span>
|
@click="showPl = true"></button>
|
||||||
<span
|
<button
|
||||||
class="bi bi-broadcast clickable ign"
|
class="bi bi-broadcast clickable ign"
|
||||||
@click="$emit('nxt-song')"></span>
|
@click="$emit('nxt-song')"></button>
|
||||||
<span class="bi bi-plus-lg clickable ign" @click="addSong"></span>
|
<button class="bi bi-plus-lg clickable ign" @click="addSong"></button>
|
||||||
<span class="bi bi-share clickable ign" @click="Share"></span>
|
<button class="bi bi-share clickable ign" @click="Share"></button>
|
||||||
</div>
|
</div>
|
||||||
</Transition>
|
</Transition>
|
||||||
</span>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -177,6 +178,9 @@ span.content {
|
||||||
span.bi-three-dots-vertical {
|
span.bi-three-dots-vertical {
|
||||||
margin: 2rem;
|
margin: 2rem;
|
||||||
}
|
}
|
||||||
|
button.bi-three-dots-vertical {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.popup {
|
.popup {
|
||||||
line-height: auto;
|
line-height: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue