close image preview when user clicks outside the image

This commit is contained in:
Max von Webel 2022-11-03 14:36:06 +01:00
parent caa664f312
commit 89c13a1119
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<font-awesome-icon icon="xmark" />
</el-button>
</div>
<div class="image-content" role="presentation">
<div class="image-content" role="presentation" @click.self="close">
<span class="button-area"
><el-button type="text" v-show="showLeft" @click="decrementIndex()"> <font-awesome-icon icon="angle-left" /> </el-button
></span>