diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-06-02 00:58:19 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-06-02 00:58:19 +0300 |
commit | adbdd8e309fe124f4c0b6b62fda9541850241bba (patch) | |
tree | 0535c223d415989e8bbd3313aa364150fa336f2e /app/assets/javascripts/vue_shared | |
parent | aa5e61d510885ac18cb06d96337dd4451334ffc5 (diff) |
Add modal-size option to modal component
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/gl_modal.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/gl_modal.vue b/app/assets/javascripts/vue_shared/components/gl_modal.vue index d5d5a7d3798..dd0a3170bf2 100644 --- a/app/assets/javascripts/vue_shared/components/gl_modal.vue +++ b/app/assets/javascripts/vue_shared/components/gl_modal.vue @@ -10,6 +10,11 @@ export default { required: false, default: null, }, + modalSize: { + type: String, + required: false, + default: '', + }, headerTitleText: { type: String, required: false, @@ -48,6 +53,7 @@ export default { > <div class="modal-dialog" + :class="modalSize" role="document" > <div class="modal-content"> |