File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed
Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -35,23 +35,6 @@ This CSS was stripped out of base.css from the osf-style repo.
3535 background-color : # 337AB7 ;
3636}
3737
38- .ball-scale {
39- position : absolute;
40- display : flex;
41- justify-content : center;
42- align-items : center;
43- width : 100% ;
44- height : 250px ;
45- }
46-
4738.embed-responsive-pdf {
4839 padding-bottom : 95% ;
4940}
50-
51- # mfrIframe iframe {
52- display : none;
53- }
54-
55- # mfrIframe {
56- min-height : 250px ;
57- }
Original file line number Diff line number Diff line change 1616 }
1717 } ) ;
1818 } ) ;
19- } , false ) ;
19+ } ) ;
2020
2121 window . addEventListener ( 'resize' , function ( ) {
2222 window . pymChild . sendHeight ( ) ;
Original file line number Diff line number Diff line change 8080 self . pymParent . iframe . setAttribute ( 'sandbox' , 'allow-scripts allow-popups allow-same-origin' ) ;
8181
8282 self . pymParent . el . appendChild ( self . spinner ) ;
83- $ ( self . pymParent . iframe ) . on ( 'load' , function ( ) {
83+ $ ( self . pymParent . iframe ) . on ( 'load' , function ( ) {
8484 self . pymParent . el . removeChild ( self . spinner ) ;
85- this . style . display = "block"
86- } )
85+ } ) ;
8786
8887 self . pymParent . onMessage ( 'embed' , function ( message ) {
8988 _addClass ( self . pymParent . el , 'embed-responsive' ) ;
You can’t perform that action at this time.
0 commit comments