Better messagelist item line height

This commit is contained in:
djmaze 2021-03-09 12:12:30 +01:00
parent 8a875670d9
commit eb9d2d8ddc
6 changed files with 18 additions and 25 deletions

View file

@ -205,7 +205,6 @@ html.rl-no-preview-pane {
.messageListItem { .messageListItem {
position: relative; position: relative;
max-height: 60px;
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
@ -251,6 +250,7 @@ html.rl-no-preview-pane {
} }
.checkboxMessage { .checkboxMessage {
line-height: 12px;
padding: 0 8px 0 6px; padding: 0 8px 0 6px;
font-size: 16px; font-size: 16px;
} }
@ -277,9 +277,7 @@ html.rl-no-preview-pane {
text-shadow: 0 1px 0 #eee; text-shadow: 0 1px 0 #eee;
} }
.senderParent { .senderParent, .subjectParent {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
@ -303,12 +301,6 @@ html.rl-no-preview-pane {
border-color: #666; border-color: #666;
} }
.subjectParent {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.subjectParent .emptySubjectText { .subjectParent .emptySubjectText {
display: none; display: none;
font-style: italic; font-style: italic;
@ -325,7 +317,7 @@ html.rl-no-preview-pane {
} }
.sender, .subject { .sender, .subject {
margin-left: 0; margin: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
@ -481,6 +473,7 @@ html .messageList .line-loading {
.subjectParent { .subjectParent {
flex: 1 0 auto; flex: 1 0 auto;
line-height: 16px;
margin-left: 30px; margin-left: 30px;
order: 1; order: 1;
width: calc(100% - 60px); width: calc(100% - 60px);