File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,22 @@ function render({ model, el }) {
6565 // Clear background of ancestors to remove "white frame" from containers.
6666 let parent = el . parentElement ;
6767 while ( parent && parent !== document . body ) {
68- parent . style . setProperty ( "background-color" , "transparent" ) ;
69- parent . style . setProperty ( "padding" , "0" ) ;
68+ parent . style . setProperty (
69+ "background-color" ,
70+ "transparent" ,
71+ "important" ,
72+ ) ;
73+ parent . style . setProperty ( "padding" , "0" , "important" ) ;
7074 parent = parent . parentElement ;
7175 }
7276
7377 if ( body ) {
74- body . style . setProperty ( "background-color" , "#202124" ) ;
75- body . style . setProperty ( "margin" , "0" ) ;
78+ body . style . setProperty ( "background-color" , "#202124" , "important" ) ;
79+ body . style . setProperty ( "margin" , "0" , "important" ) ;
7680 document . documentElement . style . setProperty (
7781 "background-color" ,
7882 "#202124" ,
83+ "important" ,
7984 ) ;
8085 }
8186 } else {
You can’t perform that action at this time.
0 commit comments