mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 11:24:11 +08:00
Add title attributes so you can view full attachment names #430
This commit is contained in:
parent
436ea2974b
commit
3069bc243b
1 changed files with 6 additions and 2 deletions
|
@ -214,7 +214,9 @@ export class AttachmentItem extends Component {
|
|||
mode={RetinaImg.Mode.ContentPreserve}
|
||||
name={fileIconName}
|
||||
/>
|
||||
<span className="file-name">{displayName}</span>
|
||||
<span className="file-name" title={displayName}>
|
||||
{displayName}
|
||||
</span>
|
||||
<span className="file-size">{displaySize ? `(${displaySize})` : ''}</span>
|
||||
{this._canPreview() ? (
|
||||
<RetinaImg
|
||||
|
@ -298,7 +300,9 @@ export class ImageAttachmentItem extends Component {
|
|||
/>
|
||||
<div className="file-preview" onDoubleClick={this._onOpenAttachment}>
|
||||
<div className="file-name-container">
|
||||
<div className="file-name">{displayName}</div>
|
||||
<div className="file-name" title={displayName}>
|
||||
{displayName}
|
||||
</div>
|
||||
</div>
|
||||
{this.renderImage()}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue