Summary Files Commits Branches @commit @diff @stats
path: root / src / _modals.scss
diff options
context:
space:
mode:
Commit329fec6799945d878247d6d70f1a6ad26ade3f77 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-06-10 11:09:52 +0800
Committer
 GitHub <noreply@github.com>
2018-06-10 11:09:52 +0800
Files9225a7e69444531c04fba3f028b49c73c80c1d47 /src/_modals.scss
Spectre-Dark-Gruvbox-329fec6799945d878247d6d70f1a6ad26ade3f77.tar
Spectre-Dark-Gruvbox-329fec6799945d878247d6d70f1a6ad26ade3f77.tar.gz
Spectre-Dark-Gruvbox-329fec6799945d878247d6d70f1a6ad26ade3f77.zip
Parent7a6af53bca72b549b2cbf1948763348bd5b30dcd (diff)
Parent1c439a3201df5b559b124940c8fcc2702c345631 (diff)
Merge pull request #451 from picturepan2/0.5.2
0.5.2
1 files changed, 10 insertions, 4 deletions
-rw-r--r--src/_modals.scss14
diff --git a/src/_modals.scss b/src/_modals.scss
index 59a7e4e..a7b3f10 100644
--- a/src/_modals.scss
+++ b/src/_modals.scss
@@ -31,8 +31,6 @@
.modal-container {
animation: slide-down .2s ease 1;
- max-width: $control-width-md;
- width: 100%;
z-index: $zindex-0;
}
}
@@ -60,15 +58,23 @@
@include shadow-variant(.2rem);
background: $bg-color-light;
border-radius: $border-radius;
- display: block;
+ display: flex;
+ flex-direction: column;
+ max-height: 75vh;
+ max-width: $control-width-md;
padding: 0 $unit-4;
+ width: 100%;
+
+ &.modal-fullheight {
+ max-height: 100vh;
+ }
.modal-header {
+ color: $dark-color;
padding: $unit-4;
}
.modal-body {
- max-height: 50vh;
overflow-y: auto;
padding: $unit-4;
position: relative;