-
-
Notifications
You must be signed in to change notification settings - Fork 79k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applied translate3d to modal, navbar-fixed and affix to combat browse…
…r repaint
- Loading branch information
ItsJonQ
committed
May 21, 2014
1 parent
3dd1531
commit 7da34cc
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,7 @@ | |
right: 0; | ||
left: 0; | ||
z-index: @zindex-navbar-fixed; | ||
.translate3d(0, 0, 0); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
cvrebert
Collaborator
|
||
|
||
// Undo the rounded corners | ||
@media (min-width: @grid-float-breakpoint) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,5 @@ | |
|
||
.affix { | ||
position: fixed; | ||
.translate3d(0, 0, 0); | ||
} |
The rule is causing a world of pain.
CSS3 transforms causes the object to act as a containing block for fixed positioned descendants. So you can no longer use fixed positioned items in a
.navbar
. This causes issues like jasny/bootstrap#278.