Skip to content

Commit b862243

Browse files
committed
Fixed mobile zooming & mobile sign-in button not being vert. centered
1 parent 67c1416 commit b862243

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

24 KB
Loading

app/assets/stylesheets/home/layout.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,18 @@ body {
114114
background-size: 700px;
115115

116116
@media (max-width: 1100px) {
117-
/*background-image: asset-url("home/about-background-bricks-double.svg");*/
118-
height: 1200px;
117+
background: asset-url("home_asset_1_2.png") no-repeat left;
118+
height: 200%;
119+
width: 100%;
119120
opacity: 0.15;
121+
margin-top: 100px;
120122
}
121123
@media (max-width: 480px) {
122-
margin-top: 40px;
124+
background-size: 450px;
125+
margin-top: 0px;
126+
}
127+
@media (max-width: 400px) {
128+
margin-top: 50px;
123129
}
124130
}
125131

app/assets/stylesheets/home/nav.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ $nav-space-tablet: 15px;
120120
.nav__signup__button{
121121
position: fixed;
122122
right: 140px;
123+
width: 115px;
123124
@media (max-width: 850px) {
124125
left: 120px;
125-
top: 30px;
126+
top: 15px;
126127
}
127128
}

0 commit comments

Comments
 (0)