Skip to content

Commit 1cbbb37

Browse files
committed
Making webkit fullscreen work as for moz
1 parent 2531515 commit 1cbbb37

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

web/viewer.css

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,13 @@ select {
2929

3030
#viewerContainer:-webkit-full-screen {
3131
top: 0px;
32-
padding-top: 6px;
33-
padding-bottom: 24px;
3432
background-color: #404040;
3533
background-image: url(images/texture.png);
3634
width: 100%;
3735
height: 100%;
38-
overflow: auto;
39-
}
40-
41-
:-webkit-full-screen #viewer {
42-
margin: 0pt;
43-
padding: 0pt;
44-
height: 100%;
45-
width: 100%;
4636
overflow: hidden;
4737
}
4838

49-
:-webkit-full-screen .page {
50-
margin: 0px auto;
51-
margin-bottom: 10px;
52-
}
53-
5439
#viewerContainer:-moz-full-screen {
5540
background-color: #404040;
5641
background-image: url(images/texture.png);
@@ -59,6 +44,10 @@ select {
5944
overflow: hidden;
6045
}
6146

47+
:-webkit-full-screen .page:last-child {
48+
margin-bottom: 40px;
49+
}
50+
6251
:-moz-full-screen .page:last-child {
6352
margin-bottom: 40px;
6453
}

0 commit comments

Comments
 (0)