mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Change the height of the iframe in quarantine
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user