Fix the badge widows on mobile (#5777)

This commit is contained in:
Michael Howell 2018-04-23 11:04:47 -07:00 committed by Kris
parent f812f5cd1c
commit b00a7b0bf7
2 changed files with 12 additions and 11 deletions

View File

@ -8,17 +8,17 @@
<div>
{{/unless~}}
<div class='main-link'>
{{raw "topic-status" topic=topic}}
{{topic-link topic}}
{{#if topic.featured_link}}
{{topic-featured-link topic}}
{{/if}}
{{#if topic.unseen}}
<span class="badge-notification new-topic"></span>
{{/if}}
{{~#if expandPinned}}
{{raw "list/topic-excerpt" topic=topic}}
{{/if~}}
{{~raw "topic-status" topic=topic~}}
{{~topic-link topic~}}
{{~#if topic.featured_link~}}
{{~topic-featured-link topic~}}
{{~/if~}}
{{~#if topic.unseen~}}
&nbsp;<span class="badge-notification new-topic"></span>
{{~/if~}}
{{~#if expandPinned~}}
{{~raw "list/topic-excerpt" topic=topic~}}
{{~/if~}}
</div>
<div class='pull-right'>

View File

@ -85,6 +85,7 @@
.badge-notification, .category-topic-link td.num .badge-notification {
position: relative;
display: inline;
top: -1px;
font-size: $font-down-1;
padding: 4px 6px 3px 6px;