Fix pin post UX
This commit is contained in:
parent
93d537b580
commit
38db2dba4e
2 changed files with 2 additions and 3 deletions
|
|
@ -4,13 +4,14 @@
|
|||
<div class="pull-right">
|
||||
<div
|
||||
class="pin-option"
|
||||
:class="{'cursor-pointer': can_pin}"
|
||||
@click="toggle_pin"
|
||||
v-if="can_pin || is_pinned">
|
||||
<i class="octicon octicon-pin"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-avatar" v-html="user_avatar" @click="goto_profile(post.owner)"></div>
|
||||
<div class="user-name" @click="goto_profile(post.owner)">{{ user_name }}</div>
|
||||
<a class="user-name" @click="goto_profile(post.owner)">{{ user_name }}</a>
|
||||
<div class="text-muted" v-html="post_time"></div>
|
||||
<div ref="content" class="content" v-html="post.content"></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ body[data-route*="social"] {
|
|||
}
|
||||
.pin-option {
|
||||
.text-extra-muted;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
}
|
||||
.pinned {
|
||||
|
|
@ -101,7 +100,6 @@ body[data-route*="social"] {
|
|||
.pin-option {
|
||||
.text-muted;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue