diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-20 01:00:59 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-20 01:00:59 +0900 |
| commit | 7921f8cd4342a7d6fef6c3473c89c0da3eefe3e4 (patch) | |
| tree | 00af1887e81ba3ca60793e0b9768ecd5ddae5546 /src/client/app/common | |
| parent | [ImgBot] Optimize images (#4322) (diff) | |
| download | misskey-7921f8cd4342a7d6fef6c3473c89c0da3eefe3e4.tar.gz misskey-7921f8cd4342a7d6fef6c3473c89c0da3eefe3e4.tar.bz2 misskey-7921f8cd4342a7d6fef6c3473c89c0da3eefe3e4.zip | |
:art:
Diffstat (limited to 'src/client/app/common')
| -rw-r--r-- | src/client/app/common/views/components/follow-button.vue | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/follow-button.vue b/src/client/app/common/views/components/follow-button.vue index 71d3a63e4c..cae6067635 100644 --- a/src/client/app/common/views/components/follow-button.vue +++ b/src/client/app/common/views/components/follow-button.vue @@ -1,6 +1,6 @@ <template> <button class="wfliddvnhxvyusikowhxozkyxyenqxqr" - :class="{ wait, block, inline, mini, active: isFollowing || hasPendingFollowRequestFromYou }" + :class="{ wait, block, inline, mini, transparent, active: isFollowing || hasPendingFollowRequestFromYou }" @click="onClick" :disabled="wait" :inline="inline" @@ -38,7 +38,12 @@ export default Vue.extend({ type: Boolean, required: false, default: false - } + }, + transparent: { + type: Boolean, + required: false, + default: true + }, }, data() { @@ -134,6 +139,9 @@ export default Vue.extend({ border solid 1px var(--primary) border-radius 36px + &:not(.transparent) + background #fff + &.inline display inline-block |