mirror of
https://github.com/gotson/komga.git
synced 2026-01-05 23:36:07 +01:00
fix word break in cards for books and series (properly!)
This commit is contained in:
parent
5da8a96760
commit
dae658fcef
2 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue