fix black background in fullscreen mode #668 #1386

edit
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; background-color: #fff;
color: #000; } color: #000; }
html:-webkit-full-screen-ancestor {
background-color: inherit; }
html:-moz-full-screen-ancestor {
background-color: inherit; }
/********************************************* /*********************************************
* VIEW FRAGMENTS * VIEW FRAGMENTS
*********************************************/ *********************************************/

View File

@ -57,6 +57,15 @@ body {
color: #000; 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 * VIEW FRAGMENTS