forked from DebaucheryLibrarian/traxxx
Improved content reflow for lazy loading scene banner.
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
>
|
||||
<img
|
||||
:src="getPath(item, 'thumbnail', { local })"
|
||||
:style="{ 'background-image': `url('${getPath(item, 'lazy', { local })}')` }"
|
||||
:width="item.width"
|
||||
:height="item.height"
|
||||
:title="item.title"
|
||||
loading="lazy"
|
||||
class="item image"
|
||||
@@ -183,6 +186,9 @@ export default {
|
||||
.item {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
height: auto;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.item-comment {
|
||||
|
||||
Reference in New Issue
Block a user