mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 06:32:08 -05:00
fix(ui): add margin to delete role button (#802)
Co-authored-by: Cheney Ni <cheneyni@umich.edu>
This commit is contained in:
parent
89b3c9c098
commit
e34c5c99fe
1 changed files with 6 additions and 2 deletions
|
@ -70,6 +70,10 @@ export const Roles = observer(({ server }: Props) => {
|
|||
}
|
||||
`;
|
||||
|
||||
const DeleteRoleButton = styled(Button)`
|
||||
margin: 16px 0;
|
||||
`;
|
||||
|
||||
return (
|
||||
<PermissionsLayout
|
||||
server={server}
|
||||
|
@ -266,12 +270,12 @@ export const Roles = observer(({ server }: Props) => {
|
|||
<h1>
|
||||
<Text id="app.settings.categories.danger_zone" />
|
||||
</h1>
|
||||
<Button
|
||||
<DeleteRoleButton
|
||||
palette="error"
|
||||
compact
|
||||
onClick={deleteRole}>
|
||||
<Text id="app.settings.permissions.delete_role" />
|
||||
</Button>
|
||||
</DeleteRoleButton>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue