Changed the new messages separator location in the markup to be at the same level as the date seperator

Этот коммит содержится в:
Reed Garmsen
2015-06-18 15:34:23 -07:00
родитель a7ed61ef90
Коммит 65318de9ae
2 изменённых файлов: 6 добавлений и 8 удалений

Просмотреть файл

@@ -444,13 +444,11 @@ module.exports = React.createClass({
if (post.create_at > last_viewed && !rendered_last_viewed) {
rendered_last_viewed = true;
postCtls.push(
<div>
<div className="new-seperator">
<hr id="new_message" className="new-seperator__hr" />
<div className="new-seperator__text">New Messages</div>
</div>
{postCtl}
</div>
<div className="new-seperator">
<hr id="new_message" className="new-seperator__hr" />
<div className="new-seperator__text">New Messages</div>
{postCtl}
</div>
);
} else {
postCtls.push(postCtl);