Merge pull request #1648 from Eldorado234/patch-2

Fixed text overflow in phishing detection indicator
This commit is contained in:
Ben Gotow 2016-03-14 10:09:21 -07:00
commit 53037b9918
2 changed files with 5 additions and 1 deletions

View file

@ -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>
);
}

View file

@ -10,5 +10,9 @@
background-color: rgb(242, 222, 222);
white-space: nowrap;
overflow: hidden;
}
.phishingIndicator .description {
overflow: hidden;
text-overflow: ellipsis;
}