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">
|
||||
<img
|
||||
uk-img
|
||||
class="uk-align-center"
|
||||
:class="{'uk-align-center': true, 'spine': item.width < 50}"
|
||||
:style="item.style"
|
||||
:data-src="item.url"
|
||||
:width="item.width"
|
||||
@ -111,7 +111,7 @@
|
||||
|
||||
<style>
|
||||
img[data-src][src*='data:image'] { background: white; }
|
||||
img { width: 100%; }
|
||||
img:not(.spine) { width: 100%; }
|
||||
.reader-bg { background: black; }
|
||||
</style>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user