File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 103103 <template v-else >
104104 <div
105105 v-if =" isUploadedBookFeatureEnabled && isMyBookshelf && (hasUploadedBooks || (isLikerPlus && !isExpiredLikerPlus))"
106- class =" w-full mt-4"
106+ : class =" [' w-full mt-4', !hasUploadedBooks && 'max-tablet:hidden'] "
107107 >
108108 <div class =" flex items-center justify-between mb-3" >
109109 <h2
114114 </h2 >
115115 <UploadBookModal
116116 v-if =" isLikerPlus && !isExpiredLikerPlus"
117- class =" ml-auto"
117+ class =" ml-auto max-tablet:hidden "
118118 size =" sm"
119119 variant =" soft"
120120 @uploaded =" loadBookshelfData(walletAddress!, { isRefresh: true })"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export function isUploadedBookId(id: string): boolean {
55}
66
77export const UPLOADED_BOOK_MAX_FILE_SIZE = 100 * 1024 * 1024 // 100 MB
8- export const UPLOADED_BOOK_MAX_COUNT = 2
8+ export const UPLOADED_BOOK_MAX_COUNT = 5
99export const UPLOADED_BOOK_ALLOWED_TYPES = [ 'application/epub+zip' , 'application/pdf' ]
1010
1111export type UploadedBookMimeType = 'application/epub+zip' | 'application/pdf'
You can’t perform that action at this time.
0 commit comments