Commit 8a7f29f2 authored by Robert Ricci's avatar Robert Ricci
Browse files

Aha! Finally figured out the insane size jumps for modals

We set modal widths for only a few media queries - in between, it was
reverting to the standard bootstrap behavior.
parent a9d3a7b5
......@@ -180,6 +180,10 @@ body {
#showtopo_nopicker, #edit_nopicker {
width: 800px;
}
.modal-dialog {
width: 800px;
margin: 30px auto;
}
}
@media (min-width: 850px) and (max-width: 909px) {
......@@ -193,6 +197,10 @@ body {
#showtopo_nopicker, #edit_nopicker {
width: 730px;
}
.modal-dialog {
width: 730px;
margin: 30px auto;
}
}
@media (min-width: 790px) and (max-width: 849px) {
......@@ -206,6 +214,10 @@ body {
#showtopo_nopicker, #edit_nopicker {
width: 680px;
}
.modal-dialog {
width: 680px;
margin: 30px auto;
}
}
@media (min-width: 768px) and (max-width: 789px) {
......@@ -236,6 +248,10 @@ body {
#showtopo_nopicker, #edit_nopicker {
width: 620px;
}
.modal-dialog {
width: 620px;
margin: 30px auto;
}
}
@media (min-width: 690px) and (max-width: 739px) {
......@@ -249,6 +265,10 @@ body {
#showtopo_nopicker, #edit_nopicker {
width: 580px;
}
.modal-dialog {
width: 580px;
margin: 30px auto;
}
}
@media (max-width: 689px) {
......@@ -263,6 +283,10 @@ body {
height: 180px;
overflow-y: scroll;
}
.modal-dialog {
width: 90%;
margin: 30px auto;
}
}
.modal-dialog .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