]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Making modal work with max width 767px - fixes #4860 5312/head
authorAndreas Cederström <andreas@klydd.se>
Thu, 27 Sep 2012 09:44:48 +0000 (11:44 +0200)
committerAndreas Cederström <andreas@klydd.se>
Thu, 27 Sep 2012 09:46:54 +0000 (11:46 +0200)
docs/assets/css/bootstrap-responsive.css
less/responsive-767px-max.less

index f1efde190e45ffdcf1bc6b194f4ca9b72bb9dc3b..5320eadf82fccf713dd2bc45651372937bab0d3b 100644 (file)
     width: auto;
     margin: 0;
   }
+  .modal.fade {
+    top: -100px;
+  }
   .modal.fade.in {
-    top: auto;
+    top: 20px;
   }
 }
 
index 45ce4ebc7714add556089679c6cd729b0b16891a..1d5c1239c99f889bb0b38d95fcd14ee9694d4e38 100644 (file)
     right: 20px;
     width: auto;
     margin: 0;
-    &.fade.in { top: auto; }
+    &.fade  { top: -100px; }
+    &.fade.in { top: 20px; }
   }
 
 }