mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:32:26 +08:00
Add margin to topic list footer message
This commit is contained in:
parent
be71dbfd94
commit
fdc7267ad9
|
@ -40,26 +40,24 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="full-width">
|
||||
<footer id='topic-list-bottom'>
|
||||
{{#if loadingMore}}
|
||||
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
||||
{{/if}}
|
||||
<footer id='topic-list-bottom'>
|
||||
{{#if loadingMore}}
|
||||
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
||||
{{/if}}
|
||||
|
||||
<h3>
|
||||
{{footerMessage}}
|
||||
{{#if allLoaded}}
|
||||
{{#if latest}}
|
||||
{{#if canCreateTopic}}
|
||||
<a href='#' {{action createTopic}}>{{i18n topic.suggest_create_topic}}</a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#linkTo 'list.categories'}}{{i18n topic.browse_all_categories}}{{/linkTo}} {{i18n or}} {{#linkTo 'list.latest'}}{{i18n topic.view_latest_topics}}{{/linkTo}}
|
||||
<h3>
|
||||
{{footerMessage}}
|
||||
{{#if allLoaded}}
|
||||
{{#if latest}}
|
||||
{{#if canCreateTopic}}
|
||||
<a href='#' {{action createTopic}}>{{i18n topic.suggest_create_topic}}</a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#linkTo 'list.categories'}}{{i18n topic.browse_all_categories}}{{/linkTo}} {{i18n or}} {{#linkTo 'list.latest'}}{{i18n topic.view_latest_topics}}{{/linkTo}}
|
||||
{{/if}}
|
||||
</h3>
|
||||
</footer>
|
||||
</div>
|
||||
{{/if}}
|
||||
</h3>
|
||||
</footer>
|
||||
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
|
|
@ -259,7 +259,7 @@
|
|||
// Topics
|
||||
|
||||
#topic-list-bottom {
|
||||
margin: 20px 0;
|
||||
margin: 20px 0 0 12px;
|
||||
}
|
||||
|
||||
.topics-loading {
|
||||
|
|
Loading…
Reference in New Issue
Block a user