diff options
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'}, |