Skip to content

Commit fc9648c

Browse files
author
brianshattuck
committed
fix issues on mobile size
1 parent 577c243 commit fc9648c

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

src/pages/LaunchpadPage/JoinSocialMedia.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import SocialMediaBg from 'assets/images/launchpad/social_media_bg.png';
77

88
const JoinSocialMedia: React.FC = () => {
99
return (
10-
<Box className='section socialMediaSection'>
10+
<Box className='socialMediaSection'>
1111
<Box className='cover_title'>
1212
<Typography className='title2'>Follow on Social Media</Typography>
1313
<Typography className='desc'>

src/pages/styles/launchpad.scss

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@
4141
.cover_title {
4242
max-width: 40%;
4343
margin-bottom: 20px;
44-
4544
@media screen and (max-width: '900px') {
4645
width: 100%;
4746
max-width: 100%;
4847
margin-bottom: 24px;
49-
padding: 0 20px;
5048
}
5149
}
5250

@@ -57,7 +55,6 @@
5755
@media screen and (max-width: '900px') {
5856
width: 100%;
5957
max-width: 100%;
60-
padding: 0 40px;
6158
margin-bottom: 40px;
6259
}
6360
}
@@ -70,7 +67,6 @@
7067
@media screen and (max-width: '900px') {
7168
width: 100%;
7269
font-size: 32px;
73-
text-align: center;
7470
}
7571
}
7672

@@ -80,17 +76,11 @@
8076
font-stretch: normal;
8177
font-style: normal;
8278
line-height: 1.67;
83-
84-
@media screen and (max-width: '900px') {
85-
width: 100%;
86-
font-size: 14px;
87-
text-align: center;
88-
}
8979
}
9080

9181
.title2 {
9282
color: #EBECF2;
93-
font-size: 24px;
83+
font-size: 2rem;
9484
font-weight: 600;
9585
}
9686
}
@@ -105,11 +95,23 @@
10595
}
10696

10797
.stepsToJoin {
98+
padding-top: 0;
10899
.step_list {
109100
display: grid;
110101
grid-template-columns: repeat(4, minmax(0, 1fr));
111102
gap: 1.25rem;
112103
margin-bottom: 1.5rem;
104+
105+
@media (max-width: 1280px) {
106+
grid-template-columns: repeat(2, minmax(0, 1fr));
107+
108+
}
109+
110+
@media (max-width: 767px) {
111+
grid-template-columns: repeat(1, minmax(0, 1fr));
112+
113+
}
114+
113115
}
114116

115117
.step_item {
@@ -126,6 +128,7 @@
126128
color: white;
127129
margin-top: 1rem;
128130
margin-bottom: 0.5rem;
131+
text-align: start;
129132
}
130133

131134
.desc {

0 commit comments

Comments
 (0)