Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hau Vo
pleroma-fe
Commits
30f5bf14
Commit
30f5bf14
authored
Feb 26, 2019
by
Tae Hoon
Browse files
Remove legacy class names in BasicUserCard
parent
0d283c3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/basic_user_card/basic_user_card.vue
View file @
30f5bf14
...
...
@@ -9,15 +9,13 @@
<div
class=
"user-card-collapsed-content"
v-else
>
<div
class=
"user-card-primary-secondary-wrapper"
>
<div
class=
"user-card-primary-area"
>
<div
:title=
"user.name"
class=
"user-name"
>
<div
:title=
"user.name"
class=
"user-
card-user-
name"
>
<span
v-if=
"user.name_html"
v-html=
"user.name_html"
></span>
<span
v-else
>
{{
user
.
name
}}
</span>
</div>
<div>
<router-link
class=
'user-screen-name'
:to=
"userProfileLink(user)"
>
@
{{
user
.
screen_name
}}
</router-link>
</div>
<router-link
:to=
"userProfileLink(user)"
>
@
{{
user
.
screen_name
}}
</router-link>
</div>
<div
class=
"user-card-secondary-area"
>
<slot
name=
"secondary-area"
></slot>
...
...
@@ -61,13 +59,14 @@
&
-primary-area
{
flex
:
1
;
.user-name
{
img
{
object-fit
:
contain
;
height
:
16px
;
width
:
16px
;
vertical-align
:
middle
;
}
}
&
-user-name
{
img
{
object-fit
:
contain
;
height
:
16px
;
width
:
16px
;
vertical-align
:
middle
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment