Skip to content

Commit 0fd3a4e

Browse files
committed
improvement(reskin): spacing details
1 parent 7f9e1ca commit 0fd3a4e

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

src/shared/components/challenge-detail/MySubmissions/SubmissionsList/styles.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,13 @@
9696
flex-direction: column;
9797
font-size: 13px;
9898
line-height: 20px;
99-
margin: 16px 40px 0 40px;
99+
padding-top: 30px;
100+
padding-bottom: 50px;
101+
margin: 0 41px;
100102

101103
@include xs-to-sm {
102-
margin: 16px 0 0 0;
104+
padding: 0;
105+
margin: 0 16px;
103106
}
104107
}
105108

@@ -177,6 +180,10 @@ button.column-1-1,
177180
margin: 0 32px 0 16px;
178181
height: auto;
179182
}
183+
184+
@include xs-to-sm {
185+
margin-top: 24px;
186+
}
180187
}
181188

182189
.column-1 {

src/shared/components/challenge-detail/Submissions/style.scss

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
.container {
44
@include roboto-regular;
55

6-
margin-left: auto;
7-
margin-right: auto;
6+
padding-top: 30px;
7+
padding-bottom: 50px;
8+
margin: 0 41px;
9+
10+
@include xs-to-sm {
11+
padding: 0;
12+
margin: 0 16px;
13+
}
814

915
div {
1016
white-space: nowrap;
@@ -152,7 +158,7 @@
152158
font-size: 13px;
153159
line-height: 15px;
154160
padding-bottom: 17px;
155-
padding-top: 7px;
161+
padding-top: 14px;
156162
color: $tc-gray-50;
157163
display: flex;
158164
border-bottom: 1px solid $tc-gray-10;
@@ -215,13 +221,10 @@
215221
}
216222

217223
.container.dev {
218-
margin: 0 46px;
219-
padding-bottom: 0;
220224
line-height: 50px;
221225
text-align: center;
222226

223227
@include xs-to-sm {
224-
margin: 30px 0;
225228
line-height: 20px;
226229
}
227230

@@ -277,10 +280,8 @@
277280
}
278281

279282
&.mm {
280-
margin: 28px 32px 0 32px;
281-
282283
@include xs-to-sm {
283-
margin: 0;
284+
margin: 0 16px;
284285
}
285286
}
286287

0 commit comments

Comments
 (0)