Minor UI fixes, hide cast button when not connected to server, update sort options

This commit is contained in:
advplyr
2022-04-17 17:54:13 -05:00
parent 493d7aecc9
commit c4c6377925
7 changed files with 32 additions and 23 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="w-32">
<div class="relative">
<covers-book-cover :library-item="libraryItem" :width="128" :book-cover-aspect-ratio="bookCoverAspectRatio" />
<div v-if="!isPodcast" class="absolute bottom-0 left-0 h-1.5 bg-yellow-400 shadow-sm z-10" :style="{ width: 128 * progressPercent + 'px' }"></div>
<div v-if="!isPodcast" class="absolute bottom-0 left-0 h-1.5 shadow-sm z-10" :class="userIsFinished ? 'bg-success' : 'bg-yellow-400'" :style="{ width: 128 * progressPercent + 'px' }"></div>
</div>
</div>
<div class="flex-grow px-3">