[Client] Improve UI

This commit is contained in:
syuilo 2018-11-19 02:09:27 +09:00
parent 8d70587814
commit a390e57dff
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -6,6 +6,7 @@
<router-link class="name" :to="note.user | userPage" v-user-preview="note.userId" place="user">{{ note.user | userName }}</router-link> <router-link class="name" :to="note.user | userPage" v-user-preview="note.userId" place="user">{{ note.user | userName }}</router-link>
</i18n> </i18n>
<div class="info"> <div class="info">
<span class="mobile" v-if="note.viaMobile"><fa icon="mobile-alt"/></span>
<mk-time :time="note.createdAt"/> <mk-time :time="note.createdAt"/>
<span class="visibility" v-if="note.visibility != 'public'"> <span class="visibility" v-if="note.visibility != 'public'">
<fa v-if="note.visibility == 'home'" icon="home"/> <fa v-if="note.visibility == 'home'" icon="home"/>
@ -86,9 +87,10 @@ export default Vue.extend({
margin-left auto margin-left auto
font-size 0.9em font-size 0.9em
> .mobile
margin-right 8px
> .mk-time > .mk-time
display block
margin-left auto
flex-shrink 0 flex-shrink 0
> .visibility > .visibility