Fixed a bug with styling of the error dialog

This commit is contained in:
David Carley
2021-03-06 15:34:44 -08:00
parent 1f8a743f65
commit b7e47f03ac
3 changed files with 12 additions and 2 deletions

View File

@@ -114,7 +114,11 @@ module.exports = new Vue({
motors: [{}, {}, {}, {}],
version: '<loading>'
},
state: {messages: []},
state: {
messages: [],
wait_for_probing_complete: false,
show_probe_complete_modal: false
},
video_size: cookie.get('video-size', 'small'),
crosshair: cookie.get('crosshair', 'false') != 'false',
errorTimeout: 30,

View File

@@ -36,6 +36,12 @@ module.exports = {
type: Boolean,
required: true,
twoWay: true
},
class: {
type: String,
required: false,
twoWay: false
}
}
}

View File

@@ -26,7 +26,7 @@
//-/////////////////////////////////////////////////////////////////////////////
script#message-template(type="text/x-template")
.modal-mask(v-if="show")
.modal-mask(v-if="show", :class="class")
.modal-wrapper
.modal-container
.modal-header