iFrame styling in CSS not JS

Small change, moved iframe styling to CSS, allows &css param to override iframe styling without requiring !important on the end of values.
This commit is contained in:
Duncan Barnes 2021-05-05 12:19:48 +01:00
parent b92af980fb
commit 2be4038885
2 changed files with 8 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;