webmail: for long to/cc/bcc address list (>5) show the first 4 and a button to show the rest

for issue #98 by mattfbacon, thanks
This commit is contained in:
Mechiel Lukkien
2023-11-20 21:36:40 +01:00
parent 73a2a09711
commit 3d80c05423
6 changed files with 80 additions and 16 deletions

View File

@ -20,7 +20,7 @@ const init = () => {
}
const msgheaderview = dom.table(dom._class('msgheaders'), style({marginBottom: '1ex', width: '100%'}))
loadMsgheaderView(msgheaderview, mi, [], null)
loadMsgheaderView(msgheaderview, mi, [], null, true)
const l = window.location.pathname.split('/')
const w = l[l.length-1]