There was an error while loading. Please reload this page.
2 parents 71685ed + bc864c3 commit 7150e66Copy full SHA for 7150e66
mfr/server/static/css/mfr.css
@@ -42,14 +42,16 @@ This CSS was stripped out of base.css from the osf-style repo.
42
align-items: center;
43
width: 100%;
44
height: 250px;
45
+ top: 0;
46
+ left: 0;
47
}
48
49
.embed-responsive-pdf {
50
padding-bottom: 95%;
51
52
53
#mfrIframe iframe {
- display: none;
54
+ opacity: 0.0;
55
56
57
#mfrIframe {
mfr/server/static/js/mfr.js
@@ -82,7 +82,7 @@
82
self.pymParent.el.appendChild(self.spinner);
83
$(self.pymParent.iframe).on('load', function() {
84
self.pymParent.el.removeChild(self.spinner);
85
- this.style.display = "block"
+ this.style.opacity = "1.0"
86
})
87
88
self.pymParent.onMessage('embed', function(message) {
0 commit comments