Skip to content

Commit

Permalink
Merge pull request #11 from lshap/master
Browse files Browse the repository at this point in the history
[FIX] Fix add location popup too short on mobile
  • Loading branch information
dhartunian committed May 17, 2016
2 parents 7fd97f8 + 7cc7585 commit 1ae8f07
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
15 changes: 10 additions & 5 deletions public/streetlives.css
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,6 @@

.Button.is-hidden {
display: none; }
@media screen and (max-width: 360px) {
.LocationForm-inner.js-content {
top: 120px;
width: 290px; } }

.LocationForm {
position: absolute;
width: 100%;
Expand Down Expand Up @@ -350,6 +345,16 @@
margin: 0 0 10px 0;
padding: 0 0 5px 0;
border-bottom: 1px solid #ccc; }

@media screen and (max-width: 360px) {
.LocationForm-inner.js-content {
top: 120px;
width: 290px; } }

@media screen and (max-width: 470px) {
.LocationForm-inner.js-content {
max-height: 100%;
overflow-y: scroll; } }
.Map .SearchField {
position: absolute;
width: 500px;
Expand Down
19 changes: 13 additions & 6 deletions sources/scss/location.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
@media screen and (max-width: 360px) {
.LocationForm-inner.js-content {
top: 120px;
width: 290px;
}
}
.LocationForm {
position: absolute;
width: 100%;
Expand Down Expand Up @@ -88,3 +82,16 @@
border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 360px) {
.LocationForm-inner.js-content {
top: 120px;
width: 290px;
}
}

@media screen and (max-width: 470px) {
.LocationForm-inner.js-content {
max-height: 100%;
overflow-y: scroll;
}
}

0 comments on commit 1ae8f07

Please sign in to comment.