mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 12:24:56 +02:00
Add:Experimental authors page layout #187,Add:Square covers #210
This commit is contained in:
parent
9a6ba3d0de
commit
d544540454
24 changed files with 304 additions and 112 deletions
|
@ -10,7 +10,7 @@
|
|||
<form @submit.prevent="submitForm">
|
||||
<div class="flex">
|
||||
<div>
|
||||
<covers-collection-cover :book-items="books" :width="200" :height="100 * 1.6" />
|
||||
<covers-collection-cover :book-items="books" :width="200" :height="100 * bookCoverAspectRatio" :book-cover-aspect-ratio="bookCoverAspectRatio" />
|
||||
<!-- <ui-btn type="button" @click="showImageUploader = true">Upload</ui-btn> -->
|
||||
</div>
|
||||
<div class="flex-grow px-4">
|
||||
|
@ -74,6 +74,9 @@ export default {
|
|||
this.$store.commit('globals/setShowEditCollectionModal', val)
|
||||
}
|
||||
},
|
||||
bookCoverAspectRatio() {
|
||||
return this.$store.getters['getBookCoverAspectRatio']
|
||||
},
|
||||
collection() {
|
||||
return this.$store.state.globals.selectedCollection || {}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue