mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 02:19:08 +00:00
feat(UI/role-picker): make buttons green and sticky to the top of the picker
This commit is contained in:
parent
f19bdca5f1
commit
3b0d249e41
3 changed files with 17 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue