Fix toast container making ui unclickable

This commit is contained in:
wvffle 2022-07-24 21:25:32 +00:00 committed by Georg Krause
parent 2d16cd1cdf
commit 1df46d9691
2 changed files with 9 additions and 15 deletions

View File

@ -391,21 +391,6 @@ const reorderTracks = async (from: number, to: number) => {
@remove="removeTrack" @remove="removeTrack"
@reorder="reorderTracks" @reorder="reorderTracks"
/> />
<!-- <virtual-list
ref="list"
wrap-class="queue-sortable-container"
item-class="queue-sortable-item"
:data-key="'id'"
:data-sources="queueItems"
:data-component="QueueItem"
:estimate-size="50"
:extra-props="{
onPlay: play,
onRemove: removeTrack,
itemClass: (index: number) => currentIndex === index ? 'active': ''
}"
@reorder="log"
/> -->
<div <div
v-if="$store.state.radios.running" v-if="$store.state.radios.running"
class="ui info message" class="ui info message"

View File

@ -46,10 +46,19 @@
padding-bottom: $bottom-player-height; padding-bottom: $bottom-player-height;
.toast-container { .toast-container {
bottom: $bottom-player-height + 1rem; bottom: $bottom-player-height + 1rem;
pointer-events: none;
} }
} }
} }
.toast-container {
pointer-events: none;
> div {
pointer-events: auto;
}
}
#footer { #footer {
border-bottom: none; border-bottom: none;
border-top: 1px solid rgba(34, 36, 38, 0.15); border-top: 1px solid rgba(34, 36, 38, 0.15);