0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Merge pull request #13649 from ItsJonQ/repaint-fixes-2

Repaint Fixes When Scrolling
This commit is contained in:
Mark Otto 2014-06-08 11:14:57 -07:00
commit 3ee5542c99
3 changed files with 4 additions and 2 deletions

View File

@ -31,10 +31,10 @@
// When fading in the modal, animate it to slide down // When fading in the modal, animate it to slide down
&.fade .modal-dialog { &.fade .modal-dialog {
.translate(0, -25%); .translate3d(0, -25%, 0);
.transition-transform(~"0.3s ease-out"); .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 // Shell div to position the modal with bottom padding

View File

@ -141,6 +141,7 @@
right: 0; right: 0;
left: 0; left: 0;
z-index: @zindex-navbar-fixed; z-index: @zindex-navbar-fixed;
.translate3d(0, 0, 0);
// Undo the rounded corners // Undo the rounded corners
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {

View File

@ -53,4 +53,5 @@
.affix { .affix {
position: fixed; position: fixed;
.translate3d(0, 0, 0);
} }