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:
Anmol Singh Bhatia 2023-11-08 17:51:32 +05:30 committed by GitHub
parent 83e0c4ebbd
commit 4096136b44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 102 additions and 126 deletions

View file

@ -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}

View file

@ -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>