Skip to content

Commit 23884c2

Browse files
committed
Dont break opengl stuff
1 parent b408a66 commit 23884c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mfr/server/static/css/mfr.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ This CSS was stripped out of base.css from the osf-style repo.
4242
align-items: center;
4343
width: 100%;
4444
height: 250px;
45+
top: 0;
46+
left: 0;
4547
}
4648

4749
.ball-scale > div {
@@ -52,7 +54,7 @@ This CSS was stripped out of base.css from the osf-style repo.
5254
}
5355

5456
#mfrIframe iframe {
55-
display: none;
57+
opacity: 0.0;
5658
}
5759

5860
#mfrIframe {

mfr/server/static/js/mfr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
self.pymParent.el.appendChild(self.spinner);
8383
$(self.pymParent.iframe).on('load', function() {
8484
self.pymParent.el.removeChild(self.spinner);
85-
this.style.display = "block"
85+
this.style.opacity = "1.0"
8686
})
8787

8888
self.pymParent.onMessage('embed', function(message) {

0 commit comments

Comments
 (0)