diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-07-31 11:50:43 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-07-31 11:50:43 -0300 |
commit | 1456a67ca58dc7c5d4da0509c57649b26d48aa78 (patch) | |
tree | c8e1297b2c78f2222f25d1c68c94c575e4219ac0 /src/content/dependencies | |
parent | c4b6524d51447c388a635c55997d1b5b28ca1ced (diff) |
css: fix image sizing inside grid items
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/image.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 45379629..24c91d0f 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -157,7 +157,7 @@ export default { let wrapped = content; wrapped = - html.tag('div', {class: 'image-container'}, + html.tag('div', {class: ['image-container', !originalSrc && 'placeholder-image']}, html.tag('div', {class: 'image-inner-area'}, wrapped)); |