feat(UI/role-picker): make buttons green and sticky to the top of the picker

This commit is contained in:
Katie Thornhill 2019-11-18 20:44:04 -05:00
parent f19bdca5f1
commit 3b0d249e41
No known key found for this signature in database
GPG key ID: F76EDC6541A99644
3 changed files with 17 additions and 4 deletions

View file

@ -116,7 +116,7 @@ class RolePicker extends Component {
<Prompt when={this.rolesHaveChanged} message="Are you sure you want to leave? You have unsaved changes that will be lost." />
{ this.renderServerMessage(server) }
<section>
<div className="role-picker__header">
<div className="role-picker__header sticky">
<h3>Roles</h3>
{ server.getIn(['perms', 'canManageRoles']) === true
? <Link to={`/s/${server.get('id')}/edit`} uk-tooltip='' title='Edit Categories' uk-icon="icon: file-edit"></Link>