Fix the badge widows on mobile (#5777)
This commit is contained in:
parent
f812f5cd1c
commit
b00a7b0bf7
|
@ -8,17 +8,17 @@
|
||||||
<div>
|
<div>
|
||||||
{{/unless~}}
|
{{/unless~}}
|
||||||
<div class='main-link'>
|
<div class='main-link'>
|
||||||
{{raw "topic-status" topic=topic}}
|
{{~raw "topic-status" topic=topic~}}
|
||||||
{{topic-link topic}}
|
{{~topic-link topic~}}
|
||||||
{{#if topic.featured_link}}
|
{{~#if topic.featured_link~}}
|
||||||
{{topic-featured-link topic}}
|
{{~topic-featured-link topic~}}
|
||||||
{{/if}}
|
{{~/if~}}
|
||||||
{{#if topic.unseen}}
|
{{~#if topic.unseen~}}
|
||||||
<span class="badge-notification new-topic"></span>
|
<span class="badge-notification new-topic"></span>
|
||||||
{{/if}}
|
{{~/if~}}
|
||||||
{{~#if expandPinned}}
|
{{~#if expandPinned~}}
|
||||||
{{raw "list/topic-excerpt" topic=topic}}
|
{{~raw "list/topic-excerpt" topic=topic~}}
|
||||||
{{/if~}}
|
{{~/if~}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='pull-right'>
|
<div class='pull-right'>
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
|
|
||||||
.badge-notification, .category-topic-link td.num .badge-notification {
|
.badge-notification, .category-topic-link td.num .badge-notification {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: inline;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
font-size: $font-down-1;
|
font-size: $font-down-1;
|
||||||
padding: 4px 6px 3px 6px;
|
padding: 4px 6px 3px 6px;
|
||||||
|
|
Loading…
Reference in New Issue