mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-10 17:48:50 +08:00
Fixed text overflow in phishing detection indicator
This commit is contained in:
parent
d57ef5a060
commit
257f9a13d9
2 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,7 @@ class PhishingIndicator extends React.Component {
|
|||
return (
|
||||
<div className="phishingIndicator">
|
||||
<b>This message looks suspicious!</b>
|
||||
<div>{`It originates from ${from} but replies will go to ${replyTo}.`}</div>
|
||||
<div className="description">{`It originates from ${from} but replies will go to ${replyTo}.`}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -10,5 +10,9 @@
|
|||
background-color: rgb(242, 222, 222);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.phishingIndicator .description {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue