diff --git a/client/assets/app.css b/client/assets/app.css index 6ec19ed5..90371142 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -187,3 +187,15 @@ Bookshelf Label opacity: 1; 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; +} \ No newline at end of file diff --git a/client/components/modals/podcast/NewModal.vue b/client/components/modals/podcast/NewModal.vue index 820ce875..75ebf0e7 100644 --- a/client/components/modals/podcast/NewModal.vue +++ b/client/components/modals/podcast/NewModal.vue @@ -34,9 +34,6 @@
-
- -
@@ -59,6 +56,9 @@
+
+ +
{{ buttonText }}
@@ -262,14 +262,4 @@ export default { #episodes-scroll { max-height: calc(80vh - 200px); } -.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; -} \ No newline at end of file diff --git a/client/components/tables/podcast/EpisodeTableRow.vue b/client/components/tables/podcast/EpisodeTableRow.vue index b6e3f2ff..d58863ff 100644 --- a/client/components/tables/podcast/EpisodeTableRow.vue +++ b/client/components/tables/podcast/EpisodeTableRow.vue @@ -10,13 +10,13 @@

{{ title }}

-

+

{{ description }}

- {{ streamIsPlaying ? 'pause' : 'play_arrow' }} -

{{ timeRemaining }}

+ {{ streamIsPlaying ? 'pause' : 'play_arrow' }} +

{{ timeRemaining }}

@@ -37,7 +37,7 @@
-
+
@@ -75,7 +75,9 @@ export default { return this.episode.title || '' }, description() { - return this.episode.description || '' + if (this.episode.subtitle) return this.episode.subtitle + var desc = this.episode.description || '' + return desc }, duration() { return this.$secondsToTimestamp(this.episode.duration) diff --git a/client/components/tables/podcast/EpisodesTable.vue b/client/components/tables/podcast/EpisodesTable.vue index aa8b6154..94175bcd 100644 --- a/client/components/tables/podcast/EpisodesTable.vue +++ b/client/components/tables/podcast/EpisodesTable.vue @@ -1,6 +1,9 @@