diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-29 00:18:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-29 00:18:54 +0900 |
| commit | d39c153c5719a4d37952827c1f82aba3165fdab3 (patch) | |
| tree | 14d08458416f4bc3a41dd4fef756f4214c4c6b71 /src/client/components | |
| parent | Update README.md (diff) | |
| download | misskey-d39c153c5719a4d37952827c1f82aba3165fdab3.tar.gz misskey-d39c153c5719a4d37952827c1f82aba3165fdab3.tar.bz2 misskey-d39c153c5719a4d37952827c1f82aba3165fdab3.zip | |
wip
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/follow-button.vue | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/client/components/follow-button.vue b/src/client/components/follow-button.vue index 3b8f7454c2..588e101195 100644 --- a/src/client/components/follow-button.vue +++ b/src/client/components/follow-button.vue @@ -1,9 +1,8 @@ <template> <button class="kpoogebi _button" - :class="{ wait, active: isFollowing || hasPendingFollowRequestFromYou, full }" + :class="{ wait, active: isFollowing || hasPendingFollowRequestFromYou, full, large }" @click="onClick" :disabled="wait" - v-if="isFollowing != null" > <template v-if="!wait"> <template v-if="hasPendingFollowRequestFromYou && user.isLocked"> @@ -44,6 +43,11 @@ export default defineComponent({ required: false, default: false, }, + large: { + type: Boolean, + required: false, + default: false, + }, }, data() { @@ -149,6 +153,12 @@ export default defineComponent({ font-size: 14px; } + &.large { + font-size: 16px; + height: 38px; + padding: 0 12px 0 16px; + } + &:not(.full) { width: 31px; } |