diff --git a/app/modules/profile/profile-bar/profile-bar.jade b/app/modules/profile/profile-bar/profile-bar.jade index 5032eef1..a0c0017d 100644 --- a/app/modules/profile/profile-bar/profile-bar.jade +++ b/app/modules/profile/profile-bar/profile-bar.jade @@ -5,7 +5,7 @@ section.profile-bar // a.button-green // span(translate="USER.PROFILE.FOLLOW") 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(", ")}} // div.location // include ../../../svg/location.svg diff --git a/app/modules/profile/styles/profile-bar.scss b/app/modules/profile/styles/profile-bar.scss index dfa44b0a..2915ebcf 100644 --- a/app/modules/profile/styles/profile-bar.scss +++ b/app/modules/profile/styles/profile-bar.scss @@ -70,6 +70,9 @@ margin-bottom: .5rem; text-transform: none; } + .not-full-name { + word-wrap: break-word; + } h2 { @extend %light; @extend %larger;