Fixed text overflow in phishing detection indicator

This commit is contained in:
Simon Seyer 2016-03-11 20:33:06 +01:00
parent d57ef5a060
commit 257f9a13d9
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;
}