From 340a9708466301cbb5cc5d7dfc121247a68b0ea8 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 4 Apr 2019 23:51:19 +0300 Subject: [PATCH] Fix mobile UI --- src/views/reports/components/TimelineItem.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/reports/components/TimelineItem.vue b/src/views/reports/components/TimelineItem.vue index 2bc137aa..250bf35e 100644 --- a/src/views/reports/components/TimelineItem.vue +++ b/src/views/reports/components/TimelineItem.vue @@ -69,7 +69,8 @@ export default { confirmButtonText: i18n.t('reports.delete'), cancelButtonText: i18n.t('reports.cancel'), type: 'warning', - showClose: false + showClose: false, + customClass: 'confirm-message' }).then(() => { this.$store.dispatch('DeleteNote', { reportId, noteId }) this.$message({ @@ -137,7 +138,11 @@ export default { font-style: italic; color: gray; } -@media -only screen and (max-width: 760px), -(min-device-width: 768px) and (max-device-width: 1024px) {} + @media + only screen and (max-width: 760px), + (min-device-width: 768px) and (max-device-width: 1024px) { + .confirm-message { + width: 98%; + } + }