Resize mail compose after window resized too

This commit is contained in:
Hadi Nategh 2014-11-28 16:20:28 +00:00
parent 75f992fa22
commit ae6be9fa87
4 changed files with 7 additions and 6 deletions

View File

@ -196,6 +196,10 @@ app.classes.mail = AppJS.extend(
jQuery('#mail-compose').on ('load',function() {
window.setTimeout(function(){that.compose_resizeHandler();}, 300);
});
//Resize compose after window resize to not getting scrollbar
jQuery(window).on ('resize',function() {
that.compose_resizeHandler();
});
this.compose_fieldExpander();

View File

@ -520,7 +520,7 @@ div.mail-compose_fileselector {
display: none !important;
}
#mail-display, #mail-compose {
#mail-display {
min-height: 768px;
}
.mailDisplayContainer, .mailDisplayAttachments {

View File

@ -519,8 +519,7 @@ div.mail-compose_fileselector {
border: 0px !important;
display: none !important;
}
#mail-display,
#mail-compose {
#mail-display {
min-height: 768px;
}
.mailDisplayContainer,
@ -990,7 +989,6 @@ div#mail-index div#mail-index_mailPreview div#mail-index_mailPreviewHeadersSubje
}
#mail-compose {
width: 870px;
min-height: 768px;
padding: 5px;
/*// ###############################################################################*/
/*// Mail Header*/

View File

@ -332,7 +332,6 @@ div#mail-index{
#mail-compose{
// gesamtbreite
width: 870px;
min-height: 768px;
padding: 5px;