Skip to content

Commit 58e683d

Browse files
authored
Merge pull request #862 from topcoder-platform/MP-336_social-links-modal-mobile
MP-336 - fix mobile issues for social links -> dev
2 parents f976c5d + f678721 commit 58e683d

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
}
3838

3939
svg {
40-
width: 24px;
41-
height: 24px;
40+
@include icon-xxl;
4241
}
4342
}
4443
}
@@ -47,6 +46,7 @@
4746
display: flex;
4847
flex-direction: column;
4948
align-items: flex-start;
49+
flex: 1 1;
5050

5151
small {
5252
font-size: 11px;
@@ -60,3 +60,7 @@
6060
word-break: break-all;
6161
}
6262
}
63+
64+
.btnsWrap {
65+
flex: 0 0 auto;
66+
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const LinkEntry: FC<LinkEntryProps> = props => {
4343
<small>{props.link.name}</small>
4444
<p>{props.link.url}</p>
4545
</div>
46-
<div>
46+
<div className={styles.btnsWrap}>
4747
<Button
4848
className={styles.button}
4949
size='lg'

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

+8-1
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,21 @@
2424
&>div:nth-child(1) {
2525
margin-right: $sp-2;
2626
min-width: 150px;
27+
@include ltemd {
28+
min-width: 0;
29+
}
2730
}
2831

2932
&>div:nth-child(2) {
3033
flex: 1;
31-
margin-right: $sp-2;
3234
}
3335
&>button {
3436
margin-bottom: $sp-45;
37+
38+
svg {
39+
@include icon-xxl;
40+
}
41+
3542
&.button {
3643
margin-left: $sp-2;
3744
padding-left: $sp-2;

0 commit comments

Comments
 (0)