mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
🐛 Give priority to initial window background
Otherwise, since we now add styles element right during AtomEnvironment construction, the default background gets showed (i.e. white on my machine). /cc: @nathansobo
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
|
||||
var backgroundStylesheet = document.createElement('style')
|
||||
backgroundStylesheet.type = 'text/css'
|
||||
backgroundStylesheet.innerText = 'html, body { background: ' + backgroundColor + '; }'
|
||||
backgroundStylesheet.innerText = 'html, body { background: ' + backgroundColor + ' !important; }'
|
||||
document.head.appendChild(backgroundStylesheet)
|
||||
|
||||
// Remove once the page loads
|
||||
|
||||
Reference in New Issue
Block a user