aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card_content
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/user_card_content')
-rw-r--r--src/components/user_card_content/user_card_content.js2
-rw-r--r--src/components/user_card_content/user_card_content.vue5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js
index 2e448f1c..1e8c91de 100644
--- a/src/components/user_card_content/user_card_content.js
+++ b/src/components/user_card_content/user_card_content.js
@@ -2,7 +2,7 @@ import StillImage from '../still-image/still-image.vue'
import { hex2rgb } from '../../services/color_convert/color_convert.js'
export default {
- props: [ 'user', 'switcher' ],
+ props: [ 'user', 'switcher', 'hideBio' ],
computed: {
headingStyle () {
const color = this.$store.state.config.colors.bg
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue
index 627a0976..ca8428ca 100644
--- a/src/components/user_card_content/user_card_content.vue
+++ b/src/components/user_card_content/user_card_content.vue
@@ -6,7 +6,7 @@
<i class="icon-cog usersettings"></i>
</router-link>
<a :href="user.statusnet_profile_url" target="_blank" style="float: right; margin-top:16px;" v-if="isOtherUser">
- <i class="icon-binoculars usersettings"></i>
+ <i class="icon-link-ext usersettings"></i>
</a>
<div class='container'>
<router-link :to="{ name: 'user-profile', params: { id: user.id } }">
@@ -90,7 +90,7 @@
<span>{{user.followers_count}}</span>
</div>
</div>
- <p>{{user.description}}</p>
+ <p v-if="!hideBio">{{user.description}}</p>
</div>
</div>
</template>
@@ -246,7 +246,6 @@
flex: 1;
h5 {
- color: white;
font-size:1em;
font-weight: bolder;
margin: 0 0 0.25em;