fix word break in cards for books and series (properly!)

This commit is contained in:
Gauthier Roebroeck 2019-11-20 15:43:20 +08:00
parent 5da8a96760
commit dae658fcef
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@
<v-card-subtitle class="pa-2 pb-1 text--primary"
v-line-clamp="2"
style="word-break: normal;"
style="word-break: normal !important;"
:title="book.name"
>
{{ book.name }}
@ -54,7 +54,7 @@ export default Vue.extend({
},
methods: {
getThumbnailUrl () {
return `${this.baseURL}/api/v1/series/${this.book.seriesId}/books/${this.book.id}/thumbnail`
return `${this.baseURL}/api/v1/books/${this.book.id}/thumbnail`
},
getFormat () {
switch (this.book.metadata.mediaType) {

View file

@ -17,7 +17,7 @@
<v-card-subtitle class="pa-2 pb-1 text--primary"
v-line-clamp="2"
style="word-break: normal"
style="word-break: normal !important;"
:title="series.name"
>
{{ series.name }}