mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
🎨 give suspended user badge a little room (#732)
closes #8546 - creates new `.suspended` class as a copy of `.administrator` for better naming and add `15px` of `margin-left` to it.
This commit is contained in:
parent
cbd18c6253
commit
336ff5667d
@ -81,6 +81,15 @@
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.gh-badge.suspended {
|
||||
margin-left: 15px;
|
||||
border: color(var(--red) blackness(+8%)) 1px solid;
|
||||
background: linear-gradient(
|
||||
color(var(--red) whiteness(+10%)),
|
||||
color(var(--red) blackness(+4%))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* User invitation modal
|
||||
/* ---------------------------------------------------------- */
|
||||
|
@ -6,7 +6,7 @@
|
||||
{{user.name}}
|
||||
|
||||
{{#if user.isSuspended}}
|
||||
<span class="gh-badge administrator" data-test-suspended-badge>Suspended</span>
|
||||
<span class="gh-badge suspended" data-test-suspended-badge>Suspended</span>
|
||||
{{/if}}
|
||||
</h2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user