Commit 5025d35e authored by Simon Knox's avatar Simon Knox

limit 440px width to board config modal

fix some scss lint issues
parent 5144ccd9
...@@ -170,6 +170,7 @@ export default { ...@@ -170,6 +170,7 @@ export default {
<template> <template>
<popup-dialog <popup-dialog
v-show="currentPage" v-show="currentPage"
modal-dialog-class="board-config-modal"
:hide-footer="readonly" :hide-footer="readonly"
:title="title" :title="title"
:primary-button-label="buttonText" :primary-button-label="buttonText"
...@@ -183,7 +184,7 @@ export default { ...@@ -183,7 +184,7 @@ export default {
</p> </p>
<form <form
v-else v-else
class="js-board-config-modal board-config-modal" class="js-board-config-modal"
> >
<div <div
v-if="!readonly" v-if="!readonly"
......
...@@ -21,6 +21,11 @@ export default { ...@@ -21,6 +21,11 @@ export default {
required: false, required: false,
default: 'primary', default: 'primary',
}, },
modalDialogClass: {
type: String,
required: false,
default: '',
},
primaryButtonLabel: { primaryButtonLabel: {
type: String, type: String,
required: false, required: false,
...@@ -59,7 +64,8 @@ export default { ...@@ -59,7 +64,8 @@ export default {
tabindex="-1" tabindex="-1"
> >
<div <div
class="modal-dialog modal-md" :class="modalDialogClass"
class="modal-dialog"
role="document" role="document"
> >
<div class="modal-content"> <div class="modal-content">
......
...@@ -36,10 +36,6 @@ body.modal-open { ...@@ -36,10 +36,6 @@ body.modal-open {
} }
} }
.modal-md {
max-width: 440px;
}
.modal.popup-dialog { .modal.popup-dialog {
display: block; display: block;
......
...@@ -196,4 +196,4 @@ $modal-body-bg: $white-light; ...@@ -196,4 +196,4 @@ $modal-body-bg: $white-light;
// $modal-lg: 900px // $modal-lg: 900px
// $modal-md: 600px // $modal-md: 600px
// $modal-sm: 300px // $modal-sm: 300px
\ No newline at end of file
...@@ -736,6 +736,8 @@ ...@@ -736,6 +736,8 @@
} }
.board-config-modal { .board-config-modal {
width: 440px;
.block { .block {
padding: $gl-padding 0; padding: $gl-padding 0;
...@@ -744,4 +746,4 @@ ...@@ -744,4 +746,4 @@
border-top: solid 1px $border-color; border-top: solid 1px $border-color;
} }
} }
} }
\ No newline at end of file
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