Fix mobile UI

This commit is contained in:
Angelina Filippova 2019-04-04 23:51:19 +03:00
parent d23abecff9
commit 340a970846

View file

@ -69,7 +69,8 @@ export default {
confirmButtonText: i18n.t('reports.delete'), confirmButtonText: i18n.t('reports.delete'),
cancelButtonText: i18n.t('reports.cancel'), cancelButtonText: i18n.t('reports.cancel'),
type: 'warning', type: 'warning',
showClose: false showClose: false,
customClass: 'confirm-message'
}).then(() => { }).then(() => {
this.$store.dispatch('DeleteNote', { reportId, noteId }) this.$store.dispatch('DeleteNote', { reportId, noteId })
this.$message({ this.$message({
@ -139,5 +140,9 @@ export default {
} }
@media @media
only screen and (max-width: 760px), only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {} (min-device-width: 768px) and (max-device-width: 1024px) {
.confirm-message {
width: 98%;
}
}
</style> </style>