Mail: Minimum width of 400px on the preview pane

Stops attachment details from being unable to deal with the limited space
This commit is contained in:
nathan 2023-11-23 14:57:15 -07:00
parent 2bd5f58836
commit c111303abd

View File

@ -114,7 +114,7 @@
</et2-box>
</template>
<template id="mail.index.splitter" height="100%" template="" lang="" group="0" version="1.9.001">
<et2-split id="mailSplitter" style="--min: 30%;--max:70%;" vertical="false" primary="start" >
<et2-split id="mailSplitter" style="--min: 30%;--max:min(70%,calc(100% - 400px));" vertical="false" primary="start">
<nextmatch id="nm" onselect="app.mail.mail_preview" class="" template="mail.index.rows.vertical" header_left="mail.index.add" header_right="mail.index.header_right" disable_selection_advance="true"/>
<template id="mail.index.preview"/>
</et2-split>