style: ui consistency and improvement (#2725)
* style: create/update issue modal properties ui improvement * style: create update issue modal improvement * style: modal ui consistency
This commit is contained in:
parent
83e0c4ebbd
commit
4096136b44
20 changed files with 102 additions and 126 deletions
|
|
@ -50,9 +50,13 @@ export const ModuleLeadSelect: React.FC<Props> = ({ value, onChange }) => {
|
|||
{selectedOption ? (
|
||||
<Avatar name={selectedOption.display_name} src={selectedOption.avatar} />
|
||||
) : (
|
||||
<UserCircle className="h-4 w-4 text-custom-text-200" />
|
||||
<UserCircle className="h-3 w-3 text-custom-text-300" />
|
||||
)}
|
||||
{selectedOption ? (
|
||||
selectedOption?.display_name
|
||||
) : (
|
||||
<span className={`${selectedOption ? "text-custom-text-200" : "text-custom-text-300"}`}>Lead</span>
|
||||
)}
|
||||
{selectedOption ? selectedOption?.display_name : <span className="text-custom-text-200">Lead</span>}
|
||||
</div>
|
||||
}
|
||||
onChange={onChange}
|
||||
|
|
|
|||
|
|
@ -55,9 +55,9 @@ export const ModuleMembersSelect: React.FC<Props> = ({ value, onChange }) => {
|
|||
<span className="text-custom-text-200">{value.length} Assignees</span>
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex items-center justify-center gap-2">
|
||||
<UserGroupIcon className="h-4 w-4 text-custom-text-200" />
|
||||
<span className="text-custom-text-200">Assignee</span>
|
||||
<div className="flex items-center justify-center gap-2 text-custom-text-300">
|
||||
<UserGroupIcon className="h-3 w-3" />
|
||||
<span>Assignee</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue