fix(UserProfile): Optimising the typography of `ucBranding`

This commit is contained in:
haitaoo 2023-03-30 11:28:35 +08:00
parent ad733dc505
commit fd13b3580d
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ const Index: FC<Props> = ({ data }) => {
)}
</>
) : null}
{ucBranding.map((b, i) => {
{ucBranding.map((b, i, a) => {
if (!b.label) {
return null;
}
@ -122,7 +122,7 @@ const Index: FC<Props> = ({ data }) => {
<div
key={b.name}
className={classnames('d-flex', 'align-items-center', {
'ms-3': i > 0,
'me-3': i < a.length - 1,
})}>
{b.icon ? (
<span