Fix rendering cover in shelf
This commit is contained in:
parent
ef54c0241b
commit
080e194e27
|
@ -71,7 +71,7 @@ export const shelfView = (shelvesController, emit) => {
|
||||||
${__('shelves.owned_by')}
|
${__('shelves.owned_by')}
|
||||||
${shelf.user === null
|
${shelf.user === null
|
||||||
? __('shelves.you')
|
? __('shelves.you')
|
||||||
: `<a href="/profile?user=${shelf.user.handle}" title=${shelf.user.handle}>${shelf.user.name}</a>`}
|
: html`<a href="/profile?user=${shelf.user.handle}" title="${shelf.user.handle}">${shelf.user.name}</a>`}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="third sixth-700">
|
<div class="third sixth-700">
|
||||||
|
@ -87,9 +87,7 @@ export const shelfView = (shelvesController, emit) => {
|
||||||
return html`<article class="card">
|
return html`<article class="card">
|
||||||
<footer>
|
<footer>
|
||||||
<div class="flex one twelve-700">
|
<div class="flex one twelve-700">
|
||||||
<div class="full sixth-700">
|
<img class="full sixth-700" src=${shelfItem.coverURL} alt="cover ${shelfItem.coverEdition}" />
|
||||||
<img src=${shelfItem.coverURL} alt="cover ${shelfItem.coverEdition}" />
|
|
||||||
</div>
|
|
||||||
<div class="full half-700">
|
<div class="full half-700">
|
||||||
<h3>${shelfItem.title}</h3>
|
<h3>${shelfItem.title}</h3>
|
||||||
<span>${shelfItem.author}</span>
|
<span>${shelfItem.author}</span>
|
||||||
|
|
Loading…
Reference in New Issue