mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
Fixed text overflow in phishing detection indicator
This commit is contained in:
parent
34fd39962f
commit
9b14c551e2
2 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,7 @@ class PhishingIndicator extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div className="phishingIndicator">
|
<div className="phishingIndicator">
|
||||||
<b>This message looks suspicious!</b>
|
<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>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,5 +10,9 @@
|
||||||
background-color: rgb(242, 222, 222);
|
background-color: rgb(242, 222, 222);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phishingIndicator .description {
|
||||||
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue