Skip to content

Commit 1c7c5f7

Browse files
committed
Merge pull request twbs#850 from sferik/scrollable_modal
Make modal windows scrollable
2 parents e71a532 + 7fbb366 commit 1c7c5f7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

bootstrap.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Wed Dec 7 20:14:59 EST 2011
9+
* Date: Sun Dec 25 20:18:31 PST 2011
1010
*/
1111
/* Reset.less
1212
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -2177,6 +2177,8 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
21772177
top: 50%;
21782178
left: 50%;
21792179
z-index: 11000;
2180+
max-height: 500px;
2181+
overflow: auto;
21802182
width: 560px;
21812183
margin: -250px 0 0 -280px;
21822184
background-color: #ffffff;

bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/patterns.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,8 @@ input[type=submit].btn {
834834
top: 50%;
835835
left: 50%;
836836
z-index: 11000;
837+
max-height: 500px;
838+
overflow: auto;
837839
width: 560px;
838840
margin: -250px 0 0 -280px;
839841
background-color: @white;

0 commit comments

Comments
 (0)