Skip to content

Commit 0932231

Browse files
authored
Merge pull request #965 from codeRIT/develop
Move tablet layout changes to master
2 parents 1d48b86 + a35641c commit 0932231

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/index.scss

+13-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,15 @@ html, body, #root, #app, .full-height {
170170
height: 100%;
171171
display: flex;
172172
flex-direction: column;
173+
173174
@include desktop {
174-
min-height: 775px;
175+
min-height: 750px;
176+
}
177+
@include tablet {
178+
height: calc(100% - 74.5px);
179+
}
180+
@include mobile {
181+
height: 0%;
175182
}
176183
}
177184

@@ -185,7 +192,7 @@ html, body, #root, #app, .full-height {
185192
@include tablet {
186193
max-width: 100%;
187194
flex-direction: column;
188-
margin: 0px;
195+
margin: auto;
189196
}
190197
}
191198

@@ -195,6 +202,10 @@ html, body, #root, #app, .full-height {
195202
.left-half {
196203
@extend .right-half;
197204
margin-bottom: 2.5vh;
205+
206+
@include tablet {
207+
margin-bottom: 15vh;
208+
}
198209
}
199210

200211
.hero-img {

0 commit comments

Comments
 (0)