We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dialogClass
1 parent c5d858f commit 34ae267Copy full SHA for 34ae267
src/components/modal/modal.js
@@ -158,6 +158,10 @@ export default {
158
type: [String, Array],
159
default: null
160
},
161
+ dialogClass: {
162
+ type: [String, Array],
163
+ default: null
164
+ },
165
contentClass: {
166
167
@@ -278,10 +282,13 @@ export default {
278
282
]
279
283
280
284
dialogClasses() {
281
- return {
- [`modal-${this.size}`]: Boolean(this.size),
- 'modal-dialog-centered': this.centered
- }
285
+ return [
286
+ {
287
+ [`modal-${this.size}`]: Boolean(this.size),
288
+ 'modal-dialog-centered': this.centered
289
290
+ this.dialogClass
291
+ ]
292
293
backdropClasses() {
294
return {
0 commit comments