Differentiate between full name and username in css and break long words

stable
Xavier Julián 2015-06-03 09:30:28 +02:00
parent e493eea2df
commit 6b1d6993f0
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;