File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 5353 padding : 5px 0 5px 15px ;
5454 line-height : 1.35 ;
5555 margin : 1rem 0 ;
56- position : relative;
5756}
5857
5958pre [data-language = javascript ] {
@@ -322,8 +321,7 @@ blockquote footer:before {
322321
323322.sandboxhint {
324323 position : absolute;
325- top : 5px ;
326- right : 0px ;
324+ right : -15px ;
327325 font-family : tahoma, arial, sans-serif;
328326 font-size : 70% ;
329327 padding : 4px 8px ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ window.addEventListener("load", function() {
1919 chapNum == 1 && ! / c o n s o l e \. l o g / . test ( pre . textContent ) ) continue ;
2020 sandboxHint = elt ( "div" , { "class" : "sandboxhint" } ,
2121 "edit & run code by clicking it" ) ;
22- pre . appendChild ( sandboxHint ) ;
22+ pre . insertBefore ( sandboxHint , pre . firstChild ) ;
2323 break ;
2424 }
2525 }
You can’t perform that action at this time.
0 commit comments