Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 0559fae

Browse files
authored
Merge pull request #464 from openforge/fix/opportunities-mobile-animation
fix(app-opportunities): update mobile height of header
2 parents b53dc50 + 8e6d39c commit 0559fae

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

src/pages/app-opportunities/app-opportunities.scss

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@
2222
background-size: contain;
2323
margin-top: 0;
2424
padding-top: 60px;
25-
height: 100vh;
25+
height: 110vh;
2626
background-image: url('/assets/opportunities/opportunities-mobile-header-animated.svg');
2727
}
28+
@media (max-height: 640px) {
29+
height: 120vh;
30+
}
2831
}
2932

3033
&.header-transition-dev {
@@ -43,9 +46,12 @@
4346
margin-top: 0;
4447
padding-top: 50px;
4548
background-position: bottom;
46-
height: 100vh;
49+
height: 110vh;
4750
background-image: url('/assets/opportunities/opportunities-mobile-transition-dev.svg');
4851
}
52+
@media (max-height: 640px) {
53+
height: 120vh;
54+
}
4955
}
5056

5157
&.header-transition-design {
@@ -64,9 +70,12 @@
6470
margin-top: 0;
6571
padding-top: 50px;
6672
background-position: bottom;
67-
height: 100vh;
73+
height: 110vh;
6874
background-image: url('/assets/opportunities/opportunities-mobile-transition-design.svg');
6975
}
76+
@media (max-height: 640px) {
77+
height: 120vh;
78+
}
7079
}
7180

7281
&.header-transition-dev-design {
@@ -85,9 +94,12 @@
8594
margin-top: 0;
8695
padding-top: 50px;
8796
background-position: bottom;
88-
height: 100vh;
97+
height: 110vh;
8998
background-image: url('/assets/opportunities/opportunities-mobile-transition-dev-design.svg');
9099
}
100+
@media (max-height: 640px) {
101+
height: 120vh;
102+
}
91103
}
92104

93105
&.header-transition-design-dev {
@@ -106,9 +118,12 @@
106118
margin-top: 0;
107119
padding-top: 50px;
108120
background-position: bottom;
109-
height: 100vh;
121+
height: 110vh;
110122
background-image: url('/assets/opportunities/opportunities-mobile-transition-design-dev.svg');
111123
}
124+
@media (max-height: 640px) {
125+
height: 120vh;
126+
}
112127
}
113128

114129
&.header-dev-active {
@@ -127,9 +142,12 @@
127142
margin-top: 0;
128143
background-position: bottom;
129144
padding-top: 50px;
130-
height: 100vh;
145+
height: 110vh;
131146
background-image: url('/assets/opportunities/opportunities-mobile-dev-active.svg');
132147
}
148+
@media (max-height: 640px) {
149+
height: 120vh;
150+
}
133151
}
134152

135153
&.header-design-active {
@@ -148,9 +166,13 @@
148166
margin-top: 0;
149167
padding-top: 50px;
150168
background-position: bottom;
151-
height: 100vh;
169+
height: 110vh;
152170
background-image: url('/assets/opportunities/opportunities-mobile-design-active.svg');
153171
}
172+
173+
@media (max-height: 640px) {
174+
height: 120vh;
175+
}
154176
}
155177

156178
.container,

0 commit comments

Comments
 (0)