Improved content reflow for lazy loading scene banner.

This commit is contained in:
DebaucheryLibrarian
2021-03-16 03:55:20 +01:00
parent 3bebf5bf51
commit ece9569d66
3 changed files with 20 additions and 1 deletions

View File

@@ -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 {