diff --git a/MessageView.js b/MessageView.js index 3beac5e..a8ba057 100644 --- a/MessageView.js +++ b/MessageView.js @@ -118,7 +118,11 @@ export default class MessageView extends React.PureComponent
Attachments
- {msg.props.attachments.map(a => {a[0]+' ('+Util.formatBytes(a[2])+')'})} + {msg.props.attachments.map(a => ( + + {a.name+' ('+Util.formatBytes(a.size)+')'} + + ))}
: null} diff --git a/mail.css b/mail.css index 431417c..23044ee 100644 --- a/mail.css +++ b/mail.css @@ -91,6 +91,7 @@ button, a.button vertical-align: top; cursor: default; outline: 0; + color: black; text-decoration: none; background: transparent; border-color: transparent; diff --git a/mail.js b/mail.js index 75c8bdb..544d399 100644 --- a/mail.js +++ b/mail.js @@ -74,7 +74,7 @@ class MainWindow extends React.PureComponent { name: _('Unread'), icon: 'mail_unread', unreadCount: 0, type: 'unread' }, { name: _('Received'), icon: 'mail_received', unreadCount: 0, type: 'inbox' }, { name: _('Pinned'), icon: 'mail_pinned', unreadCount: 0, type: 'pinned' }, - { name: _('Outbox'), icon: 'mail_outbox', unreadCount: 0, type: 'outbox' }, + { name: _('Outbox'), icon: 'mail_outbox', unreadCount: 0, type: 'outbox' }, // FIXME { name: _('Sent'), icon: 'mail_sent', unreadCount: 0, type: 'sent' }, { name: _('Drafts'), icon: 'mail_drafts', unreadCount: 0, type: 'drafts' }, { name: _('Spam'), icon: 'mail_spam', unreadCount: 0, type: 'spam' },