Fix paddings/heights when rendered with asian fonts having different line-heights; no full headers in message preview

pull/1/head
thomascube 13 years ago
parent 6a41bef07d
commit ad726a3f1b

@ -638,13 +638,19 @@ a.iconlink.upload {
.uibox .listing thead td { .uibox .listing thead td {
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
padding: 10px 8px 8px 8px; padding: 10px 8px 3px 8px;
height: 20px; /* doesn't affect table-cells in FF */
margin: 0; margin: 0;
text-shadow: 0px 1px 1px #fff; text-shadow: 0px 1px 1px #fff;
border-bottom: 1px solid #bbd3da; border-bottom: 1px solid #bbd3da;
white-space: nowrap; white-space: nowrap;
} }
.uibox .listing thead td {
padding-bottom: 8px;
height: auto;
}
.uibox .boxtitle, .uibox .boxtitle,
.uibox .listing thead td { .uibox .listing thead td {
background: #b0ccd7; background: #b0ccd7;
@ -672,12 +678,15 @@ a.iconlink.upload {
text-shadow: 0px 1px 1px #fff; text-shadow: 0px 1px 1px #fff;
text-decoration: none; text-decoration: none;
cursor: default; cursor: default;
padding: 7px 8px 5px 8px; padding: 7px 8px 2px 8px;
height: 17px; /* doesn't affect table-cells in FF */
white-space: nowrap; white-space: nowrap;
} }
.listing tbody td { .listing tbody td {
display: table-cell; display: table-cell;
padding-bottom: 5px;
height: auto;
} }
.listbox .listitem.selected, .listbox .listitem.selected,
@ -1216,6 +1225,7 @@ ul.proplist li {
color: #555; color: #555;
min-width: 50px; min-width: 50px;
max-width: 75px; max-width: 75px;
height: 13px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -1270,6 +1280,7 @@ ul.proplist li {
} }
.toolbar a.button.reply-all { .toolbar a.button.reply-all {
min-width: 74px;
background-position: center -610px; background-position: center -610px;
} }
@ -1335,7 +1346,8 @@ a.menuselector {
a.menuselector .handle { a.menuselector .handle {
display: inline-block; display: inline-block;
padding: 3px 32px 4px 8px; padding: 3px 32px 0 8px;
min-height: 18px;
text-shadow: 0px 1px 1px #fff; text-shadow: 0px 1px 1px #fff;
background: url(images/selector.png) right center no-repeat; background: url(images/selector.png) right center no-repeat;
border-radius: 4px; border-radius: 4px;
@ -1450,7 +1462,8 @@ ul.toolbarmenu li a.icon {
ul.toolbarmenu li span.icon { ul.toolbarmenu li span.icon {
display: block; display: block;
min-height: 14px; min-height: 14px;
padding: 4px 4px 4px 24px; padding: 4px 4px 1px 24px;
height: 17px;
background-image: url(images/listicons.png); background-image: url(images/listicons.png);
background-position: -100px 0; background-position: -100px 0;
background-repeat: no-repeat; background-repeat: no-repeat;

@ -9,7 +9,6 @@
<div id="messagepreviewheader"> <div id="messagepreviewheader">
<h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> <h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3>
<roundcube:object name="messageHeaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" /> <roundcube:object name="messageHeaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" />
<roundcube:object name="messageFullHeaders" id="full-headers" />
<!-- record navigation --> <!-- record navigation -->
<div id="countcontrols" class="pagenav"> <div id="countcontrols" class="pagenav">

Loading…
Cancel
Save