mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-19 13:51:00 +00:00
Fix for "header/footer scrolls with document" problem in Issue 58.
This commit is contained in:
parent
ad2c894a74
commit
9dce1c3c02
1 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,9 @@
|
|||
*/
|
||||
/* fixed page header & footer configuration */
|
||||
.ui-header, .ui-footer, .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { position: absolute; overflow: hidden; width: 100%; border-left-width: 0; border-right-width: 0; }
|
||||
.ui-header-fixed, .ui-footer-fixed { z-index: 1000; }
|
||||
.ui-header-fixed, .ui-footer-fixed {
|
||||
z-index: 1000;
|
||||
-webkit-transform: translateZ(0); /* Force header/footer rendering to go through the same rendering pipeline as native page scrolling. */
|
||||
}
|
||||
.ui-footer-duplicate, .ui-page-fullscreen .ui-fixed-inline { display: none; }
|
||||
.ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { opacity: .9; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue