Resize mail compose after window resized too

This commit is contained in:
Hadi Nategh 2014-11-28 16:18:46 +00:00
parent 010054bd97
commit 4d300a58e0
4 changed files with 7 additions and 6 deletions

View File

@ -196,7 +196,11 @@ app.classes.mail = AppJS.extend(
jQuery('#mail-compose').on ('load',function() { jQuery('#mail-compose').on ('load',function() {
window.setTimeout(function(){that.compose_resizeHandler();}, 300); 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(); this.compose_fieldExpander();
//Call drag_n_drop initialization for emails on compose //Call drag_n_drop initialization for emails on compose

View File

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

View File

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

View File

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