mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-29 06:06:33 +00:00
Prevent white flash when running application
We accomplish this by setting the background color of the `html` element to match the greyish background color of the application.
This commit is contained in:
parent
2cb79090d1
commit
186d3847fe
@ -5938,6 +5938,9 @@ body {
|
|||||||
.space-right-tiny {
|
.space-right-tiny {
|
||||||
margin-right: 5px; }
|
margin-right: 5px; }
|
||||||
|
|
||||||
|
html {
|
||||||
|
background-color: #535760; }
|
||||||
|
|
||||||
hero-badge .badge {
|
hero-badge .badge {
|
||||||
background-color: #535760; }
|
background-color: #535760; }
|
||||||
|
|
||||||
|
@ -39,6 +39,11 @@ $btn-padding: 10px;
|
|||||||
|
|
||||||
@import "./modules/space";
|
@import "./modules/space";
|
||||||
|
|
||||||
|
// Prevent white flash when running application
|
||||||
|
html {
|
||||||
|
background-color: $body-bg;
|
||||||
|
}
|
||||||
|
|
||||||
hero-badge .badge {
|
hero-badge .badge {
|
||||||
background-color: $body-bg;
|
background-color: $body-bg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user