Commit 07098d1b authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #12470: Scope large modal styles to minimum viewport width

parent 952afba7
Showing with 7 additions and 4 deletions
+7 -4
...@@ -5197,6 +5197,8 @@ button.close { ...@@ -5197,6 +5197,8 @@ button.close {
.modal-sm { .modal-sm {
width: 300px; width: 300px;
} }
}
@media (min-width: 992px) {
.modal-lg { .modal-lg {
width: 900px; width: 900px;
} }
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
...@@ -121,7 +121,6 @@ ...@@ -121,7 +121,6 @@
// Scale up the modal // Scale up the modal
@media (min-width: @screen-sm-min) { @media (min-width: @screen-sm-min) {
// Automatically set modal's width for larger viewports // Automatically set modal's width for larger viewports
.modal-dialog { .modal-dialog {
width: @modal-md; width: @modal-md;
...@@ -133,6 +132,8 @@ ...@@ -133,6 +132,8 @@
// Modal sizes // Modal sizes
.modal-sm { width: @modal-sm; } .modal-sm { width: @modal-sm; }
.modal-lg { width: @modal-lg; } }
@media (min-width: @screen-md-min) {
.modal-lg { width: @modal-lg; }
} }
Supports Markdown
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