fix: Add a full width image view to fix resolution issues (#1363)

This commit is contained in:
Pranav Raj S
2020-10-26 00:28:23 +05:30
committed by GitHub
parent 54214c73aa
commit fa864cc9ee
3 changed files with 26 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="image message-text__wrap">
<img :src="url" @click="onClick" />
<woot-modal :show.sync="show" :on-close="onClose">
<woot-modal :full-width="true" :show.sync="show" :on-close="onClose">
<img :src="url" class="modal-image" />
</woot-modal>
</div>