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:
2
extensions/sticky/js/bootstrap.js
vendored
2
extensions/sticky/js/bootstrap.js
vendored
@@ -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});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user