diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 17:15:24 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 17:16:29 -0400 |
commit | 410a4712ee0ebb25682b9c85e2c4f63fbd87993a (patch) | |
tree | 4148ee157aeaad1a4d6b54d47b134099d876ef3b /src/content/dependencies | |
parent | 1d3eac688b0d800323a1db9fcaf598005f50051a (diff) |
content: flatten .square-content into .image-outer-area
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/image.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index a39acca3..1582d3f4 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -317,13 +317,10 @@ export default { wrapped = html.tag('div', {class: 'image-outer-area'}, - wrapped); + willSquare && + {class: 'square-content'}, - if (willSquare) { - wrapped = - html.tag('div', {class: 'square-content'}, - wrapped); - } + wrapped); wrapped = html.tag('div', {class: 'image-container'}, |