Update block class name of BasicUserCard component
This commit is contained in:
parent
43c52cb950
commit
baf603a506
1 changed files with 6 additions and 6 deletions
|
@ -1,18 +1,18 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="user-card">
|
<div class="basic-user-card">
|
||||||
<router-link :to="userProfileLink(user)">
|
<router-link :to="userProfileLink(user)">
|
||||||
<UserAvatar class="avatar" @click.prevent.native="toggleUserExpanded" :src="user.profile_image_url"/>
|
<UserAvatar class="avatar" @click.prevent.native="toggleUserExpanded" :src="user.profile_image_url"/>
|
||||||
</router-link>
|
</router-link>
|
||||||
<div class="user-card-expanded-content" v-if="userExpanded">
|
<div class="basic-user-card-expanded-content" v-if="userExpanded">
|
||||||
<UserCardContent :user="user" :rounded="true" :bordered="true"/>
|
<UserCardContent :user="user" :rounded="true" :bordered="true"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-card-collapsed-content" v-else>
|
<div class="basic-user-card-collapsed-content" v-else>
|
||||||
<div :title="user.name" class="user-card-user-name">
|
<div :title="user.name" class="basic-user-card-user-name">
|
||||||
<span v-if="user.name_html" v-html="user.name_html"></span>
|
<span v-if="user.name_html" v-html="user.name_html"></span>
|
||||||
<span v-else>{{ user.name }}</span>
|
<span v-else>{{ user.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<router-link class="user-card-screen-name" :to="userProfileLink(user)">
|
<router-link class="basic-user-card-screen-name" :to="userProfileLink(user)">
|
||||||
@{{user.screen_name}}
|
@{{user.screen_name}}
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '../../_variables.scss';
|
@import '../../_variables.scss';
|
||||||
|
|
||||||
.user-card {
|
.basic-user-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1 0;
|
flex: 1 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in a new issue