diff --git a/assets/app.css b/assets/app.css index 2b06265c..2eb7cfa7 100644 --- a/assets/app.css +++ b/assets/app.css @@ -117,6 +117,20 @@ Bookshelf Label filter: blur(20px); } +.episode-subtitle { + word-break: break-word; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + line-height: 16px; + /* fallback */ + max-height: 32px; + /* fallback */ + -webkit-line-clamp: 2; + /* number of lines to show */ + -webkit-box-orient: vertical; +} + .line-clamp-2 { overflow: hidden; display: -webkit-box; diff --git a/components/tables/podcast/EpisodeRow.vue b/components/tables/podcast/EpisodeRow.vue index b9dd9894..36c7ed43 100644 --- a/components/tables/podcast/EpisodeRow.vue +++ b/components/tables/podcast/EpisodeRow.vue @@ -17,7 +17,15 @@ {{ title }}
-{{ subtitle }}
+ + +{{ title }}
-{{ subtitle }}
+ + + +Your Progress: {{ Math.round(progressPercent * 100) }}%
@@ -160,6 +168,16 @@ export default { description() { return this.episode.description || '' }, + episodeNumber() { + return this.episode.episode + }, + season() { + return this.episode.season + }, + episodeType() { + if (this.episode.episodeType === 'full') return null // only show Trailer/Bonus + return this.episode.episodeType + }, duration() { return this.$secondsToTimestamp(this.episode.duration) }, diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue index 9cab5bd7..28e34be0 100644 --- a/pages/item/_id/index.vue +++ b/pages/item/_id/index.vue @@ -86,6 +86,9 @@