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; padding: 10px;
} }
.mainwrap { .mainwrap {
position: relative; width: 800px;
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */ height: 600px;
padding-top: 30px;
height: 0;
overflow: hidden;
} }
.mainwrap iframe { .mainwrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }