Differentiate between full name and username in css and break long words
parent
e493eea2df
commit
6b1d6993f0
|
@ -5,7 +5,7 @@ section.profile-bar
|
||||||
// a.button-green
|
// a.button-green
|
||||||
// span(translate="USER.PROFILE.FOLLOW")
|
// span(translate="USER.PROFILE.FOLLOW")
|
||||||
div.profile-data
|
div.profile-data
|
||||||
h1 {{::vm.user.get("full_name_display")}}
|
h1(ng-class="{'not-full-name': !vm.user.get('full_name')}") {{::vm.user.get("full_name_display")}}
|
||||||
h2 {{::vm.stats.get('roles').join(", ")}}
|
h2 {{::vm.stats.get('roles').join(", ")}}
|
||||||
// div.location
|
// div.location
|
||||||
// include ../../../svg/location.svg
|
// include ../../../svg/location.svg
|
||||||
|
|
|
@ -70,6 +70,9 @@
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
.not-full-name {
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
h2 {
|
h2 {
|
||||||
@extend %light;
|
@extend %light;
|
||||||
@extend %larger;
|
@extend %larger;
|
||||||
|
|
Loading…
Reference in New Issue