From 320b3d8617ad90c49add8d06ff25fa363289923d Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 12 Feb 2020 02:52:37 +0900 Subject: [PATCH] :art: --- src/client/components/loading.vue | 19 +++++++++++- src/client/components/notes.vue | 40 +++++++------------------ src/client/components/ui/pagination.vue | 18 +++++------ 3 files changed, 38 insertions(+), 39 deletions(-) diff --git a/src/client/components/loading.vue b/src/client/components/loading.vue index 640c4cc9e..b819c692e 100644 --- a/src/client/components/loading.vue +++ b/src/client/components/loading.vue @@ -1,5 +1,5 @@ @@ -8,6 +8,13 @@ import Vue from 'vue'; export default Vue.extend({ + props: { + inline: { + type: Boolean, + required: false, + default: false + } + } }); @@ -25,6 +32,16 @@ export default Vue.extend({ padding: 32px; text-align: center; + &.inline { + display: inline; + padding: 0; + + > .ring:after { + width: 32px; + height: 32px; + } + } + > .ring { display: inline-block; opacity: 0.7; diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index 8601d17d0..688659512 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -11,28 +11,28 @@ -
- + +
@@ -55,5 +48,12 @@ export default Vue.extend({ margin-bottom: 8px; } } + + > .more > .button { + margin-left: auto; + margin-right: auto; + height: 48px; + min-width: 150px; + } }