Elastic: Display full subject in mail preview (#6518)

pull/6528/head
Aleksander Machniak 6 years ago
parent bba6c7e702
commit 4480909db4

@ -19,10 +19,8 @@
margin-bottom: 1rem; margin-bottom: 1rem;
.subject { .subject {
display: flex;
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;
white-space: nowrap;
body.status-flagged &:before { body.status-flagged &:before {
&:extend(.font-icon-class); &:extend(.font-icon-class);
@ -34,10 +32,10 @@
} }
a.extwin { a.extwin {
margin-left: .25rem;
&:before { &:before {
&:extend(.font-icon-class); &:extend(.font-icon-class);
float: none;
display: inline-block;
font-size: 75%; font-size: 75%;
line-height: 1.5; line-height: 1.5;
margin: 0; margin: 0;
@ -45,10 +43,6 @@
} }
} }
& > span {
.overflow-ellipsis;
}
span.inner { span.inner {
display: none; display: none;
} }

@ -17,10 +17,8 @@
<div class="content frame-content" role="main"> <div class="content frame-content" role="main">
<div id="message-header"> <div id="message-header">
<h2 class="subject"> <h2 class="subject">
<span onmouseover="rcube_webmail.long_subject_title(this)"> <span class="voice"><roundcube:label name="subject" />: </span>
<span class="voice"><roundcube:label name="subject" />: </span> <roundcube:object name="messageHeaders" valueOf="subject" />
<roundcube:object name="messageHeaders" valueOf="subject" />
</span>
<roundcube:if condition="!env:message_context && !env:extwin"> <roundcube:if condition="!env:message_context && !env:extwin">
<roundcube:button command="extwin" type="link" class="extwin" innerClass="inner" <roundcube:button command="extwin" type="link" class="extwin" innerClass="inner"
label="openinextwin" title="openinextwin" data-hidden="small" /> label="openinextwin" title="openinextwin" data-hidden="small" />

Loading…
Cancel
Save