aboutsummaryrefslogtreecommitdiff
path: root/src/components/mute_card/mute_card.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-03-24 17:15:21 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-03-24 17:15:21 +0000
commit01d05316998f90451e920f8ac8d4c264a13b0cd7 (patch)
tree99730bd30e73e6dc1b81eba924426425ace0fa5f /src/components/mute_card/mute_card.vue
parentf86a5dc80421f496a893efaa98f12f831da0adcb (diff)
parentf03747e84124ea45efd16a2f386d7f14996f736a (diff)
Merge branch '227-manage-blocks-mutes' into 'develop'
Transition to MastoAPI: Mute & Block and Add Mutes management tab See merge request pleroma/pleroma-fe!611
Diffstat (limited to 'src/components/mute_card/mute_card.vue')
-rw-r--r--src/components/mute_card/mute_card.vue16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/components/mute_card/mute_card.vue b/src/components/mute_card/mute_card.vue
index e1bfe20b..a4edff03 100644
--- a/src/components/mute_card/mute_card.vue
+++ b/src/components/mute_card/mute_card.vue
@@ -1,6 +1,6 @@
<template>
<basic-user-card :user="user">
- <template slot="secondary-area">
+ <div class="mute-card-content-container">
<button class="btn btn-default" @click="unmuteUser" :disabled="progress" v-if="muted">
<template v-if="progress">
{{ $t('user_card.unmute_progress') }}
@@ -17,8 +17,18 @@
{{ $t('user_card.mute') }}
</template>
</button>
- </template>
+ </div>
</basic-user-card>
</template>
-<script src="./mute_card.js"></script> \ No newline at end of file
+<script src="./mute_card.js"></script>
+
+<style lang="scss">
+.mute-card-content-container {
+ margin-top: 0.5em;
+ text-align: right;
+ button {
+ width: 10em;
+ }
+}
+</style>