Skip to content

Commit 42f30c7

Browse files
committed
Revert "An alternative (better) attempt to fix the mobile layout"
This reverts commit 846e84d.
1 parent 846e84d commit 42f30c7

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.browserslistrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> 1%, last 2 versions, Firefox ESR
1+
> 1%

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@
146146
flex-wrap: wrap;
147147
align-items: stretch;
148148

149+
@include xxs-to-xs {
150+
flex-direction: column;
151+
}
152+
149153
.prizes-outer-container {
150154
flex: 4;
151155

src/shared/components/challenge-detail/Specification/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ $tc-link-visited: #0c4e98;
3030
align-items: baseline;
3131
word-break: break-word;
3232

33+
@include xxs-to-xs {
34+
flex-direction: column;
35+
}
36+
3337
.challenge-specifications {
3438
flex: 4;
3539
text-align: left;

0 commit comments

Comments
 (0)