Skip to content

Commit db2eefd

Browse files
authored
Merge pull request topcoder-archive#1059 from appirio-tech/dev
Promote additional bug bash II updates
2 parents 1584a18 + 65e656b commit db2eefd

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

assets/css/directives/challenge-tile.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,6 @@ challenge-tile .challenge.tile-view {
281281
}
282282

283283

284-
@media only screen and (max-width: 768px) {
285-
.active-challenge {
286-
height: auto;
287-
margin: auto;
288-
}
289-
}
290284
.completed-challenge {
291285
height: 390px;
292286
display: flex;
@@ -378,6 +372,13 @@ challenge-tile .challenge.tile-view {
378372
}
379373
}
380374

375+
@media only screen and (max-width: 768px) {
376+
.active-challenge, .completed-challenge {
377+
height: auto;
378+
margin: auto;
379+
}
380+
}
381+
381382
.past-design-details {
382383
img {
383384
height: 200px;

assets/css/layout/header.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@
183183
}
184184

185185
.user-menu {
186-
max-height: 54px;
187186
.user-avatar {
188187
height: 31px;
189188
width: 31px;
@@ -215,8 +214,10 @@
215214
text-transform: uppercase;
216215
}
217216

218-
.user-menu .submenu {
219-
padding-top: 5px;
217+
@media only screen and (max-width: 1024px) {
218+
.user-menu .submenu {
219+
padding-top: 5px;
220+
}
220221
}
221222

222223
.submenu {
@@ -341,6 +342,10 @@
341342
}
342343

343344
@media only screen and (min-width : 1025px) {
345+
.user-menu {
346+
max-height: 54px;
347+
}
348+
344349
.header-wrapper {
345350
background: #fff;
346351
position: relative;

assets/css/my-challenges/my-challenges.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,9 @@
179179
margin-bottom: 13px;
180180
@media only screen and (max-width: 767px) {
181181
display: inline-block;
182-
margin-left: 15px;
183-
184-
&:first-child {
185-
margin-left: 0;
186-
}
182+
margin-left: auto;
183+
margin-right: auto;
184+
margin-bottom: 15px;
187185
}
188186
@media only screen and (min-width: 768px) {
189187
&:nth-child(2n + 1) {

assets/css/my-dashboard/my-challenges.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,8 @@
171171
margin-bottom: 15px;
172172
@media only screen and (max-width: 767px) {
173173
display: inline-block;
174-
175-
&:first-child {
176-
margin-left: 0;
177-
}
174+
margin-left: auto;
175+
margin-right: auto;
178176
}
179177
@media only screen and (min-width: 768px) {
180178
&:nth-child(2n + 1) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy