Fix right sticky panel on FF

width can't be force on a display:table element in firefox.
I added a level of wrappers to workaround.
This commit is contained in:
Vince
2013-06-23 14:42:12 +02:00
parent 66d19cf9ca
commit e1e7dbf2e1
2 changed files with 53 additions and 47 deletions

View File

@@ -55,16 +55,18 @@ body {
}
.sticky-section {
display: table;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
z-index: 1000;
}
.sticky-section .wrap,
.sticky-section .drawer {
.sticky-section .sticky-section-wrap {
display: table;
height: 100%;
}
.sticky-section .vertical-centerer {
display: table-cell;
vertical-align: middle;
}