aboutsummaryrefslogtreecommitdiff
path: root/src/components/mute_card/mute_card.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-03-28 22:25:40 +0200
committershpuld <shp@cock.li>2019-03-28 22:25:40 +0200
commit31010779f6cc1abdd18fa117c0832e20623e1624 (patch)
tree2eaf8861e1baee86a1f4d33e0e10543e62cdd98c /src/components/mute_card/mute_card.vue
parentfd12263cacd2a869ad61dd8580f918b45d9b2a51 (diff)
parentc829b1a5f4a013882ba298b0f95ec0f8b3ed3758 (diff)
Merge branch 'develop' into feature/mobile-improvements-3
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>