summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-12 01:20:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-12 01:20:26 +0900
commit0b40194d316037cf45f163c21bfb29c7db027164 (patch)
tree943f4ed6eedd652807647f7fb81f538e0bb9ced0 /src
parentImprove streaming (diff)
downloadmisskey-0b40194d316037cf45f163c21bfb29c7db027164.tar.gz
misskey-0b40194d316037cf45f163c21bfb29c7db027164.tar.bz2
misskey-0b40194d316037cf45f163c21bfb29c7db027164.zip
:art:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/favorites.vue9
-rw-r--r--src/client/app/mobile/views/pages/favorites.vue4
2 files changed, 9 insertions, 4 deletions
diff --git a/src/client/app/desktop/views/pages/favorites.vue b/src/client/app/desktop/views/pages/favorites.vue
index f96783a301..e7e02c8483 100644
--- a/src/client/app/desktop/views/pages/favorites.vue
+++ b/src/client/app/desktop/views/pages/favorites.vue
@@ -4,7 +4,9 @@
<template v-for="favorite in favorites">
<mk-note-detail class="post" :note="favorite.note" :key="favorite.note.id"/>
</template>
- <a v-if="existMore" @click="more">{{ $t('@.load-more') }}</a>
+ <div class="more" v-if="existMore">
+ <ui-button inline @click="more">{{ $t('@.load-more') }}</ui-button>
+ </div>
</main>
</mk-ui>
</template>
@@ -75,4 +77,9 @@ main
> .post
margin-bottom 16px
+
+ > .more
+ margin 32px 16px 16px 16px
+ text-align center
+
</style>
diff --git a/src/client/app/mobile/views/pages/favorites.vue b/src/client/app/mobile/views/pages/favorites.vue
index ed6095bd7a..6ca584ec88 100644
--- a/src/client/app/mobile/views/pages/favorites.vue
+++ b/src/client/app/mobile/views/pages/favorites.vue
@@ -6,7 +6,7 @@
<template v-for="favorite in favorites">
<mk-note-detail class="post" :note="favorite.note" :key="favorite.note.id"/>
</template>
- <a v-if="existMore" @click="more">{{ $t('@.load-more') }}</a>
+ <ui-button v-if="existMore" @click="more">{{ $t('@.load-more') }}</ui-button>
</main>
</mk-ui>
</template>
@@ -73,8 +73,6 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-
-
main
width 100%
max-width 680px