admin(ui): implement MountEditContainer.tsx, minor tweaks
This commit is contained in:
parent
11b7197c49
commit
e70351cbad
10 changed files with 166 additions and 13 deletions
|
@ -60,7 +60,14 @@ const RoleEditContainer = () => {
|
|||
<div css={tw`w-full flex flex-row items-center mb-8`}>
|
||||
<div css={tw`flex flex-col`}>
|
||||
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>{role.name}</h2>
|
||||
<p css={tw`text-base text-neutral-400`}>{role.description}</p>
|
||||
{
|
||||
(role.description || '').length < 1 ?
|
||||
<p css={tw`text-base text-neutral-400`}>
|
||||
<span css={tw`italic`}>No description</span>
|
||||
</p>
|
||||
:
|
||||
<p css={tw`text-base text-neutral-400`}>{role.description}</p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue