[media UI] Fixed player selector style after Dropdown component changes.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Fabio Manganiello 2023-11-12 15:55:28 +01:00
parent ca72e22820
commit 50922cf149
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 44 additions and 49 deletions

View File

@ -1,4 +1,5 @@
<template>
<div class="media-players">
<div class="plugins">
<Chromecast :player="selectedPlayer?.pluginName === 'media.chromecast' ? selectedPlayer : null"
ref="chromecastPlugin" @status="$emit('status', $event)" />
@ -32,6 +33,7 @@
</div>
</Dropdown>
</div>
</div>
</template>
<script>
@ -108,7 +110,8 @@ export default {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.media-players {
.plugins {
display: none;
}
@ -116,27 +119,19 @@ export default {
.no-results {
padding: 1em;
}
.players {
:deep(.dropdown) {
direction: ltr;
.item {
padding: .5em;
}
.icon {
margin-right: 1em !important;
}
}
:deep(.refresh) {
.dropdown-container {
.refresh {
font-weight: bold;
font-size: .8em;
opacity: .7;
}
:deep(.player.selected) {
.player.selected {
.item {
color: $selected-fg;
}
}
}
</style>