iframes war

This commit is contained in:
lopar 2018-03-24 00:35:03 +02:00
parent 6db8655fec
commit 7f42208b70

View File

@ -51,17 +51,11 @@ if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?
padding: 10px;
}
.mainwrap {
position: relative;
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
padding-top: 30px;
height: 0;
overflow: hidden;
width: 800px;
height: 600px;
}
.mainwrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}