mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(read-receipts): threadlist icon vert align and placeholder when missing
This commit is contained in:
parent
4158e598e0
commit
29785c209e
|
@ -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