Skip to content

Commit

Permalink
better search input alignment on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jayphelps committed Nov 14, 2018
1 parent 50f16dd commit 8260258
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/BringYourOwnEdge/BringYourOwnEdge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
/* resolution less than 768px */
@media (max-width: 767px) {
.edge {
padding-top: 70px;
padding-top: 22px;
height: 500px;

&:before {
Expand Down
5 changes: 4 additions & 1 deletion src/components/Header/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@

a {
width: 68px;
margin-right: 5px;
}
}
/* main-nav */
Expand Down Expand Up @@ -346,6 +347,8 @@
order: 2;

&__wrapper {
padding-right: 10px;

input {
font-size: 16px;
width: 0px;
Expand All @@ -354,7 +357,7 @@

&:focus {
padding-right: 38px;
width: calc(100vw - 154px);
width: calc(100vw - 140px);
}
}
}
Expand Down

0 comments on commit 8260258

Please sign in to comment.