Wrap very long email addresses (#577)

This commit is contained in:
RainLoop Team 2015-05-08 02:53:05 +04:00
parent f63edfa7cc
commit 92f2caf700
2 changed files with 18 additions and 11 deletions

View file

@ -150,6 +150,13 @@ html.rl-no-preview-pane {
border-radius: 5px;
padding: 10px 15px;
overflow: hidden;
.uiLine {
}
.uiLabelValue {
word-break: break-all;
}
}
.emptySubjectText {

View file

@ -237,32 +237,32 @@
</div>
<div class="clearfix"></div>
</div>
<div data-bind="visible: '' !== viewTo()">
<div class="uiLine" data-bind="visible: '' !== viewTo()">
<span class="i18n uiLabel labelTo" data-i18n="MESSAGE/LABEL_TO"></span>:
&nbsp;
<span class="to" data-bind="text: viewTo, title: viewTo"></span>
<span class="to uiLabelValue" data-bind="text: viewTo, title: viewTo"></span>
</div>
<div data-bind="visible: '' !== viewCc()">
<div class="uiLine" data-bind="visible: '' !== viewCc()">
<span class="i18n uiLabel labelCc" data-i18n="MESSAGE/LABEL_CC"></span>:
&nbsp;
<span class="cc" data-bind="text: viewCc, title: viewCc"></span>
<span class="cc uiLabelValue" data-bind="text: viewCc, title: viewCc"></span>
</div>
<div data-bind="visible: '' !== viewBcc()">
<div class="uiLine" data-bind="visible: '' !== viewBcc()">
<span class="i18n uiLabel labelBcc" data-i18n="MESSAGE/LABEL_BCC"></span>:
&nbsp;
<span class="bcc" data-bind="text: viewBcc, title: viewBcc"></span>
<span class="bcc uiLabelValue" data-bind="text: viewBcc, title: viewBcc"></span>
</div>
<div data-bind="visible: '' !== viewReplyTo()">
<div class="uiLine" data-bind="visible: '' !== viewReplyTo()">
<span class="i18n uiLabel labelBcc" data-i18n="MESSAGE/LABEL_REPLY_TO"></span>:
&nbsp;
<span class="bcc" data-bind="text: viewReplyTo, title: viewReplyTo"></span>
<span class="bcc uiLabelValue" data-bind="text: viewReplyTo, title: viewReplyTo"></span>
</div>
<div data-bind="visible: 0 < viewTimeStamp()">
<div class="uiLine" data-bind="visible: 0 < viewTimeStamp()">
<span class="i18n uiLabel labelBcc" data-i18n="MESSAGE/LABEL_DATE"></span>:
&nbsp;
<span class="date" data-moment-format="FULL" data-bind="moment: viewTimeStamp"></span>
<span class="date uiLabelValue" data-moment-format="FULL" data-bind="moment: viewTimeStamp"></span>
&nbsp;
(<span class="date" data-moment-format="FROMNOW" data-bind="moment: viewTimeStamp"></span>)
(<span class="date uiLabelValue" data-moment-format="FROMNOW" data-bind="moment: viewTimeStamp"></span>)
</div>
</div>
</div>