mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-14 07:08:32 +00:00
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:
parent
b92af980fb
commit
2be4038885
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