mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-13 14:48:31 +00:00
Merge pull request #855 from duncanbarnes/master
iFrame styling in CSS not JS
This commit is contained in:
commit
2de7c38d7f
8
main.css
8
main.css
@ -2467,6 +2467,14 @@ span#guestTips {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#iframe_source{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: auto;
|
||||
border: 10px dashed rgb(64 65 62)
|
||||
}
|
||||
|
||||
#shareScreenGear{
|
||||
display:none;
|
||||
}
|
||||
|
||||
4
main.js
4
main.js
@ -6686,10 +6686,6 @@ session.publishIFrame = function(iframeURL){
|
||||
iframe.allow="autoplay;camera;microphone";
|
||||
iframe.allowtransparency="true";
|
||||
iframe.allowfullscreen ="true";
|
||||
iframe.style.width="100%";
|
||||
iframe.style.height="100%";
|
||||
iframe.style.margin="auto";
|
||||
iframe.style.border = "10px dashed rgb(64 65 62)";
|
||||
iframe.src = session.iframeSrc;
|
||||
iframe.id = "iframe_source"
|
||||
session.iframeEle = iframe;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user