summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-04 12:14:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-04 12:14:59 +0900
commitd54453c5ff9796380fbc656f95a356eb6fd307c8 (patch)
tree2fae6a0f8c60480c1da9282edf6fc7aa2db24a82 /src/web
parentFix bug (diff)
downloadsharkey-d54453c5ff9796380fbc656f95a356eb6fd307c8.tar.gz
sharkey-d54453c5ff9796380fbc656f95a356eb6fd307c8.tar.bz2
sharkey-d54453c5ff9796380fbc656f95a356eb6fd307c8.zip
:v:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/common/views/components/file-type-icon.vue2
-rw-r--r--src/web/app/mobile/views/components/drive.file.vue2
-rw-r--r--src/web/app/mobile/views/components/post-form.vue4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/web/app/common/views/components/file-type-icon.vue b/src/web/app/common/views/components/file-type-icon.vue
index aa2f0ed519..b7e868d1f7 100644
--- a/src/web/app/common/views/components/file-type-icon.vue
+++ b/src/web/app/common/views/components/file-type-icon.vue
@@ -1,5 +1,5 @@
<template>
-<span>
+<span class="mk-file-type-icon">
<template v-if="kind == 'image'">%fa:file-image%</template>
</span>
</template>
diff --git a/src/web/app/mobile/views/components/drive.file.vue b/src/web/app/mobile/views/components/drive.file.vue
index a41d9bcfdc..db73816282 100644
--- a/src/web/app/mobile/views/components/drive.file.vue
+++ b/src/web/app/mobile/views/components/drive.file.vue
@@ -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
diff --git a/src/web/app/mobile/views/components/post-form.vue b/src/web/app/mobile/views/components/post-form.vue
index 570cd03510..d16d5d358b 100644
--- a/src/web/app/mobile/views/components/post-form.vue
+++ b/src/web/app/mobile/views/components/post-form.vue
@@ -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