mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 09:04:00 +08:00
fix some mobile CSS annoyances
This commit is contained in:
parent
8e5888dee1
commit
4346190b2c
|
@ -33,7 +33,7 @@
|
|||
{{/unless}}
|
||||
|
||||
<div class="pull-right">
|
||||
<div class='num posts'><a href="{{lastUnreadUrl}}">{{number posts_count numberKey="posts_long"}} <i class="fa fa-comment"></i></a></div>
|
||||
<div class='num posts'><a href="{{lastUnreadUrl}}">{{number posts_count numberKey="posts_long"}}</a></div>
|
||||
|
||||
{{#if like_count}}
|
||||
<div class='num likes'><a href='{{url}}{{#if has_summary}}?filter=summary{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a></div>
|
||||
|
|
|
@ -37,6 +37,7 @@ body {
|
|||
font-size: 15px;
|
||||
line-height: 1;
|
||||
color: $primary;
|
||||
margin-right: 5px;
|
||||
&:before {
|
||||
font-family: "FontAwesome";
|
||||
content: "\f005";
|
||||
|
|
|
@ -148,6 +148,9 @@
|
|||
|
||||
.num {
|
||||
text-align: center;
|
||||
.posts {
|
||||
font-weight: bold;
|
||||
}
|
||||
a:not(.badge-posts) {
|
||||
color: inherit;
|
||||
}
|
||||
|
|
|
@ -18,14 +18,10 @@ nav.post-controls {
|
|||
background-color: $secondary;
|
||||
padding: 0;
|
||||
border-right: 1px solid scale-color($primary, $lightness: 90%);
|
||||
margin-top: 10px;
|
||||
clear: both;
|
||||
button {color: scale-color($primary, $lightness: 50%);
|
||||
border-radius: 4px;
|
||||
margin-right: 2px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
span.badge-posts {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
@ -207,6 +203,7 @@ a.star {
|
|||
.information {
|
||||
padding: 7px 14px;
|
||||
color: $primary;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.information {
|
||||
|
|
Loading…
Reference in New Issue
Block a user