Change bad CSS class names

(imported from commit 962f91a593b4ca65bd7aae7d71117fc159c2627a)
This commit is contained in:
Keegan McAllister 2012-09-24 16:27:12 -04:00
parent 6ccf3818d6
commit 6fb5fc57ce
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
{{/include_recipient}}
<br />
</td>
<td class="messagebox{{^include_sender}} collapsed_child{{/include_sender}}" onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
<td class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}" onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
{{#include_sender}}
<img class="profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
<span class="zephyr_label_clickable zephyr_sender" onmouseover="select_zephyr_by_id({{id}}); show_email();" onmouseout="hide_email();">

View File

@ -644,7 +644,7 @@ function add_to_table(zephyrs, table_name, filter_function) {
if (same_sender(prev, zephyr) && !zephyr.include_recipient) {
zephyr.include_sender = false;
table.find('tr:last-child td:last-child').addClass("collapsed_parent");
table.find('tr:last-child td:last-child').addClass("next_is_same_sender");
} else {
zephyr.include_sender = true;
}

View File

@ -152,11 +152,11 @@ td.bookend {
padding-top: 5px;
}
td.collapsed_child {
td.prev_is_same_sender {
padding-top: 0px;
border-top: 1px; solid white
}
td.collapsed_parent {
td.next_is_same_sender {
border-bottom: 0px;
padding-bottom: 0px;
}