From 3069bc243b4a72ab959ddbc3d7d86e2b2cf27385 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 14 Dec 2017 14:25:19 -0800 Subject: [PATCH] Add title attributes so you can view full attachment names #430 --- app/src/components/attachment-items.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/components/attachment-items.jsx b/app/src/components/attachment-items.jsx index d240e90c5..595ab533f 100644 --- a/app/src/components/attachment-items.jsx +++ b/app/src/components/attachment-items.jsx @@ -214,7 +214,9 @@ export class AttachmentItem extends Component { mode={RetinaImg.Mode.ContentPreserve} name={fileIconName} /> - {displayName} + + {displayName} + {displaySize ? `(${displaySize})` : ''} {this._canPreview() ? (
-
{displayName}
+
+ {displayName} +
{this.renderImage()}