Set mail column selection base on PreviewPane mode

This commit is contained in:
Hadi Nategh 2022-07-27 15:49:55 +02:00
parent e7e538fffe
commit 77b475b5e6
3 changed files with 1 additions and 6 deletions

View File

@ -472,6 +472,7 @@ class mail_ui
'start' => 0, // IO position in list
'order' => 'date', // IO name of the column to sort after (optional for the sortheaders)
'sort' => 'DESC', // IO direction of the sort: 'ASC' or 'DESC'
'no_columnselection' => $this->mail_bo->mailPreferences['previewPane'] == 'vertical'? true : false
);
}
if (Api\Header\UserAgent::mobile()) $content[self::$nm_index]['header_row'] = 'mail.index.header_right';

View File

@ -1025,9 +1025,6 @@ div#mail-index_nm.splitter-pane {min-height: 100px;}
margin-top: 1em;
}
#mail-index_nm thead tr th.optcol {
display: none;
}
#mail-index_nm .mail.row et2-url-email_ro {width: fit-content}
#mail-index_nm .et2_label.et2_vfs {text-align: center}

View File

@ -988,9 +988,6 @@ div#mail-index_nm.splitter-pane {
border-top: 1px solid silver;
margin-top: 1em;
}
#mail-index_nm thead tr th.optcol {
display: none;
}
#mail-index_nm .mail.row et2-url-email_ro {
width: fit-content;
}