1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 18:21:33 +02:00

Move sticky excerpts to below the category/last post info

This commit is contained in:
Toby Zerner
2015-05-18 13:52:25 +09:30
parent bd1d165355
commit 0797a58eb7
2 changed files with 3 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ app.initializers.add('sticky', function() {
if (startPost) {
var excerpt = m('span', startPost.excerpt());
excerpt.wrapperClass = 'discussion-excerpt';
var item = items.add('excerpt', excerpt, {first: true});
var item = items.add('excerpt', excerpt, {last: true});
}
}
});

View File

@@ -7,7 +7,8 @@
}
}
.discussion-excerpt {
margin-bottom: 10px;
margin-top: 8px;
margin-right: 20px;
white-space: normal;
font-size: 12px;
line-height: 1.5em;