Skip to content

Commit

Permalink
UX: Wrap long names on user admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed May 24, 2019
1 parent 2f5938c commit dbd14a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/admin/templates/user-index.hbs
Expand Up @@ -38,7 +38,7 @@
editing=editingUsername}}
</div>

<div class="display-row">
<div class="display-row name">
{{admin-editable-field name="user.name.title"
value=model.name
action=(action "saveName")
Expand Down
6 changes: 6 additions & 0 deletions app/assets/stylesheets/common/admin/users.scss
Expand Up @@ -81,6 +81,12 @@
margin-right: 5px;
}
}
&.username,
&.name {
.value {
word-break: break-all;
}
}
}

.admin-users {
Expand Down

1 comment on commit dbd14a8

@discoursereviewbot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kris posted:

Safer follow-up to 30961dd

Please sign in to comment.