aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-08 11:14:57 -0700
committerMark Otto <[email protected]>2014-06-08 11:14:57 -0700
commit3ee5542c990817324f0a07b97d01d1fe206fd8d6 (patch)
treead0dcccef42e5201281752c6c0c30a40d3b49b80
parent7231efabde1fb58576d7f05194218e888a9a70c8 (diff)
parent7da34cc0ec493355e8f6123875261e508d826d83 (diff)
downloadbootstrap-3ee5542c990817324f0a07b97d01d1fe206fd8d6.tar.xz
bootstrap-3ee5542c990817324f0a07b97d01d1fe206fd8d6.zip
Merge pull request #13649 from ItsJonQ/repaint-fixes-2
Repaint Fixes When Scrolling
-rw-r--r--less/modals.less4
-rw-r--r--less/navbar.less1
-rw-r--r--less/utilities.less1
3 files changed, 4 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less
index 093d05131..abf46cce8 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -31,10 +31,10 @@
// When fading in the modal, animate it to slide down
&.fade .modal-dialog {
- .translate(0, -25%);
+ .translate3d(0, -25%, 0);
.transition-transform(~"0.3s ease-out");
}
- &.in .modal-dialog { .translate(0, 0)}
+ &.in .modal-dialog { .translate3d(0, 0, 0) }
}
// Shell div to position the modal with bottom padding
diff --git a/less/navbar.less b/less/navbar.less
index b5e9a5f8d..55bfd2942 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -141,6 +141,7 @@
right: 0;
left: 0;
z-index: @zindex-navbar-fixed;
+ .translate3d(0, 0, 0);
// Undo the rounded corners
@media (min-width: @grid-float-breakpoint) {
diff --git a/less/utilities.less b/less/utilities.less
index a26031214..c0becabe3 100644
--- a/less/utilities.less
+++ b/less/utilities.less
@@ -53,4 +53,5 @@
.affix {
position: fixed;
+ .translate3d(0, 0, 0);
}