mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 02:45:29 -04:00
Display book spines in original size (fixes #152)
This commit is contained in:
parent
171125e8ac
commit
31c6893bbb
@ -24,7 +24,7 @@
|
|||||||
<template x-for="item in items">
|
<template x-for="item in items">
|
||||||
<img
|
<img
|
||||||
uk-img
|
uk-img
|
||||||
class="uk-align-center"
|
:class="{'uk-align-center': true, 'spine': item.width < 50}"
|
||||||
:style="item.style"
|
:style="item.style"
|
||||||
:data-src="item.url"
|
:data-src="item.url"
|
||||||
:width="item.width"
|
:width="item.width"
|
||||||
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
img[data-src][src*='data:image'] { background: white; }
|
img[data-src][src*='data:image'] { background: white; }
|
||||||
img { width: 100%; }
|
img:not(.spine) { width: 100%; }
|
||||||
.reader-bg { background: black; }
|
.reader-bg { background: black; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user