1
0
Fork 0
forked from campiaperti/infra

fix black background in fullscreen mode #668 #1386

This commit is contained in:
Hakim El Hattab 2015-10-06 20:16:46 +02:00
parent 6d93ce5748
commit 5e763bc67d
2 changed files with 15 additions and 0 deletions

View file

@ -47,6 +47,12 @@ body {
background-color: #fff;
color: #000; }
html:-webkit-full-screen-ancestor {
background-color: inherit; }
html:-moz-full-screen-ancestor {
background-color: inherit; }
/*********************************************
* VIEW FRAGMENTS
*********************************************/

View file

@ -57,6 +57,15 @@ body {
color: #000;
}
// Ensures that the main background color matches the
// theme in fullscreen mode
html:-webkit-full-screen-ancestor {
background-color: inherit;
}
html:-moz-full-screen-ancestor {
background-color: inherit;
}
/*********************************************
* VIEW FRAGMENTS