add custom width support for dialogs (#10641)

* add custom width support for dialogs

* comments

* fix test
This commit is contained in:
Alan Ren
2020-06-03 13:08:48 -07:00
committed by GitHub
parent 2e4aee944c
commit c4be667567
12 changed files with 123 additions and 33 deletions

View File

@@ -35,12 +35,20 @@
.modal.flyout-dialog .modal-dialog {
margin: auto auto auto auto;
height: 100%;
width: 500px;
right: 0;
position: absolute;
overflow-y: hidden;
}
.modal.flyout-dialog.wide .modal-dialog {
.modal.flyout-dialog .modal-dialog.narrow-dialog {
width: 500px;
}
.modal.flyout-dialog .modal-dialog.medium-dialog {
width: 800px;
}
.modal.flyout-dialog .modal-dialog.wide-dialog {
width: 1200px;
max-width: 95%;
min-width: 400px;