Commit adbdd8e3 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Add modal-size option to modal component

parent aa5e61d5
......@@ -56,6 +56,7 @@ export default {
<gl-modal
:id="`modal-peek-${metric}-details`"
:header-title-text="header"
modal-size="modal-lg"
class="performance-bar-modal"
>
<table
......
......@@ -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">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment