This commit is contained in:
syuilo 2018-03-04 12:14:53 +09:00
parent 9ea08051b1
commit d54453c5ff
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<template>
<span>
<span class="mk-file-type-icon">
<template v-if="kind == 'image'">%fa:file-image%</template>
</span>
</template>

View file

@ -144,7 +144,7 @@ export default Vue.extend({
padding 0
color #9D9D9D
> mk-file-type-icon
> .mk-file-type-icon
margin-right 4px
> .data-size

View file

@ -4,7 +4,7 @@
<button class="cancel" @click="cancel">%fa:times%</button>
<div>
<span class="text-count" :class="{ over: text.length > 1000 }">{{ 1000 - text.length }}</span>
<button class="submit" :disabled="posting" @click="post">%i18n:mobile.tags.mk-post-form.submit%</button>
<button class="submit" :disabled="posting" @click="post">{{ reply ? '返信' : '%i18n:mobile.tags.mk-post-form.submit%' }}</button>
</div>
</header>
<div class="form">
@ -137,6 +137,7 @@ export default Vue.extend({
box-shadow 0 1px 0 0 rgba(0, 0, 0, 0.1)
> .cancel
padding 0
width 50px
line-height 50px
font-size 24px
@ -155,6 +156,7 @@ export default Vue.extend({
margin 8px
padding 0 16px
line-height 34px
vertical-align bottom
color $theme-color-foreground
background $theme-color
border-radius 4px