diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-08-15 11:41:50 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-08-15 11:41:50 +0200 |
commit | b5e2b23c99516414128a9ba483e771a13b1bdb7a (patch) | |
tree | e460a757707029390ef3338327021eb6bb2dedc6 /assets/default | |
parent | 0a4bc5a17dd8bc198d45aca13f9e40de4664159d (diff) | |
download | Shaarli-b5e2b23c99516414128a9ba483e771a13b1bdb7a.tar.gz Shaarli-b5e2b23c99516414128a9ba483e771a13b1bdb7a.tar.zst Shaarli-b5e2b23c99516414128a9ba483e771a13b1bdb7a.zip |
Fix image lazy loading issues
For some reason, bLazy won't load the image if the img block has
either 0 height or width.
Diffstat (limited to 'assets/default')
-rw-r--r-- | assets/default/scss/shaarli.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 61e382b6..cd5dd9e6 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss | |||
@@ -1436,6 +1436,8 @@ form { | |||
1436 | -webkit-transition: opacity 500ms ease-in-out; | 1436 | -webkit-transition: opacity 500ms ease-in-out; |
1437 | -moz-transition: opacity 500ms ease-in-out; | 1437 | -moz-transition: opacity 500ms ease-in-out; |
1438 | -o-transition: opacity 500ms ease-in-out; | 1438 | -o-transition: opacity 500ms ease-in-out; |
1439 | min-width: 1px; | ||
1440 | min-height: 1px; | ||
1439 | 1441 | ||
1440 | &.b-loaded { | 1442 | &.b-loaded { |
1441 | opacity: 1; | 1443 | opacity: 1; |