From fa864cc9eefc77a8b2c9f9fde9ffd81f5506c520 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Mon, 26 Oct 2020 00:28:23 +0530 Subject: [PATCH] fix: Add a full width image view to fix resolution issues (#1363) --- .../scss/widgets/_conversation-view.scss | 2 +- app/javascript/dashboard/components/Modal.vue | 28 ++++++++++++++++--- .../widgets/conversation/bubble/Image.vue | 2 +- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss index dde956eaa..c511ee243 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss @@ -34,7 +34,7 @@ } .modal-image { - max-width: 80%; + max-width: 85%; } &::before { diff --git a/app/javascript/dashboard/components/Modal.vue b/app/javascript/dashboard/components/Modal.vue index 6838b308c..88138cf86 100644 --- a/app/javascript/dashboard/components/Modal.vue +++ b/app/javascript/dashboard/components/Modal.vue @@ -6,7 +6,7 @@ transition="modal" @click="onBackDropClick" > -