diff --git a/static/js/message_list.js b/static/js/message_list.js index d5329dfe4c..6310695c88 100644 --- a/static/js/message_list.js +++ b/static/js/message_list.js @@ -508,12 +508,14 @@ exports.MessageList.prototype = { show_edit_topic: function MessageList_show_edit_topic(recipient_row, form) { recipient_row.find(".topic_edit_form").empty().append(form); + recipient_row.find('.icon-vector-pencil').hide(); recipient_row.find(".stream_topic").hide(); recipient_row.find(".topic_edit").show(); }, hide_edit_topic: function MessageList_hide_edit_topic(recipient_row) { recipient_row.find(".stream_topic").show(); + recipient_row.find('.icon-vector-pencil').show(); recipient_row.find(".topic_edit").hide(); }, diff --git a/static/styles/zulip.css b/static/styles/zulip.css index f1ff8d43bd..c3509c558f 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -759,7 +759,7 @@ td.pointer { .stream_topic { display: inline-block; - padding: 3px 6px 2px 12px; + padding: 3px 3px 2px 12px; margin-left: -5px; height: 17px; line-height: 17px; @@ -1183,6 +1183,7 @@ a.message_label_clickable:hover { } .on_hover_topic_mute { + padding-left: 3px; opacity: .1; } diff --git a/static/templates/recipient_row.handlebars b/static/templates/recipient_row.handlebars index b0f16d8471..6e388bfab3 100644 --- a/static/templates/recipient_row.handlebars +++ b/static/templates/recipient_row.handlebars @@ -29,7 +29,9 @@ {{subject}} {{/if}} + + {{! edit subject pencil icon }} {{#if always_visible_topic_edit}} @@ -47,14 +49,14 @@ {{/each}} - - - - + + + - - {{{date}}} + + {{{date}}} +