Change the height of the iframe in quarantine

This commit is contained in:
Maël Solard
2014-08-07 18:38:42 +02:00
parent cd8f1334ad
commit e443e65b46
2 changed files with 11 additions and 9 deletions
@@ -1,10 +1,18 @@
@media (max-width: 400px){
th#rstatus,
td[name='rstatus'],
th#type,
td[name='type']{
display: none;
}
}
@media (max-width: 600px){
th#subject,
td[name='subject']{
display: none;
}
}
@media (max-width: 770px){
@media (max-width: 767px){
th#to,
td[name='to']{
display: none;
@@ -23,6 +31,7 @@
top: 60px;
padding-left: 15px;
padding-right: 15px;
padding-bottom:10px;
left: 0;
right: 0;
z-index: 10;
@@ -49,14 +49,7 @@ Quarantine.prototype = {
$("#listing").html(data.listing);
$("#listing:has(iframe)").addClass('fluid-content-quarantine');
if ($( window ).width()>1198){
$("#listing").css({
top: $("#menubar").outerHeight() + 60 + "px",
bottom: $("#bottom-bar").outerHeight() + "px",
overflow: "auto"
});
}
$("#listing:has(iframe)").addClass("fluid-content-quarantine");
}
this.update_listing(data);