mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-01 04:50:59 +08:00
fix(read-receipts): threadlist icon vert align and placeholder when missing
This commit is contained in:
parent
02600786c2
commit
fb8f8b78ac
2 changed files with 2 additions and 3 deletions
|
@ -39,11 +39,10 @@ export default class OpenTrackingIcon extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
if (!this.state.hasMetadata) { return false }
|
||||
const title = this.state.opened ? "This message has been read at least once" : "This message has not been read";
|
||||
return (
|
||||
<div title={title} className="open-tracking-icon">
|
||||
{this._renderImage()}
|
||||
{this.state.hasMetadata ? this._renderImage() : ""}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
.open-tracking-icon img.content-mask.unopened {
|
||||
background-color: #6b777d;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
.open-tracking-icon img.content-mask.opened {
|
||||
background-color: @text-color-link;
|
||||
|
@ -19,6 +18,7 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
.open-tracking-icon {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.read-receipt-message-status {
|
||||
|
|
Loading…
Reference in a new issue