Skip to content

Commit f711889

Browse files
authored
Merge pull request #932 from topcoder-platform/dev
October 24, 2023 release
2 parents aa85b61 + 4335a27 commit f711889

File tree

10 files changed

+347
-291
lines changed

10 files changed

+347
-291
lines changed

src/apps/profiles/src/member-profile/links/MemberLinks.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export function renderLinkIcon(linkName: string): JSX.Element {
3232
return <GitHubLinkIcon />
3333
case 'Twitter':
3434
return <SocialIconTwitter />
35+
case 'X / Twitter':
36+
return <SocialIconTwitter />
3537
case 'LinkedIn':
3638
return <LinkedInLinkIcon />
3739
case 'Instagram':
@@ -94,7 +96,7 @@ const MemberLinks: FC<MemberLinksProps> = (props: MemberLinksProps) => {
9496
href={trait.url}
9597
target='_blank'
9698
rel='noreferrer'
97-
key={`link-${trait.name}`}
99+
key={`link-${trait.name}-${trait.url}`}
98100
>
99101
{renderLinkIcon(trait.name)}
100102
</a>

src/apps/profiles/src/member-profile/links/ModifyMemberLinksModal/LinkEntry/LinkEntry.module.scss

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/apps/profiles/src/member-profile/links/ModifyMemberLinksModal/LinkEntry/LinkEntry.tsx

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/apps/profiles/src/member-profile/links/ModifyMemberLinksModal/LinkEntry/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/apps/profiles/src/member-profile/links/ModifyMemberLinksModal/LinkForm/LinkForm.module.scss

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,29 @@
77
.formWrap {
88
display: flex;
99
flex-direction: column;
10-
margin-top: $sp-2;
1110

12-
@include ltelg {
13-
:global(.input-wrapper) {
14-
margin-bottom: $sp-2;
15-
}
11+
:global(input) {
12+
margin-top: $sp-1;
13+
}
14+
15+
:global(.input-el) {
16+
margin-bottom: 0;
1617
}
18+
1719
}
1820

1921
.form {
2022
display: flex;
21-
align-items: center;
23+
align-items: flex-start;
2224
justify-content: space-between;
2325

26+
> svg {
27+
height: 24px;
28+
width: 24px;
29+
margin-top: 14px;
30+
margin-right: $sp-4;
31+
}
32+
2433
&>div:nth-child(1) {
2534
margin-right: $sp-2;
2635
min-width: 150px;
@@ -33,16 +42,15 @@
3342
flex: 1;
3443
}
3544
&>button {
36-
margin-bottom: $sp-45;
37-
3845
svg {
3946
@include icon-xxl;
4047
}
4148

4249
&.button {
43-
margin-left: $sp-2;
50+
margin-left: $sp-4;
4451
padding-left: $sp-2;
4552
padding-right: $sp-2;
53+
padding-top: 11px;
4654
}
4755
}
4856
}

0 commit comments

Comments
 (0)