Correct errors on mobile search feature

fixes #235, #233
This commit is contained in:
Andrew Miner
2016-05-07 09:49:51 -07:00
parent 2b8e23b32f
commit 841fac38d3
2 changed files with 7 additions and 6 deletions
@@ -9,6 +9,6 @@
.view__item_selector_popup
.search
img(src='/images/search.png')
input(placeholder='enter the name of an item')
input(placeholder='enter an item name')
img.close(src='/images/close.png')
.results
@@ -12,11 +12,6 @@
max-width: $size-minecraft-block * 20;
height : 66%;
@include screen-size(mobile) {
max-width: 98%;
height: 80%;
}
background : $color-background-panel;
border : 1px solid $color-gray-medium;
@@ -63,3 +58,9 @@
overflow-y: scroll;
}
}
@include screen-size(mobile) {
.view__item_selector_popup {
position: fixed; top: 0; left: 0; height: 100%; width: 100%;
}
}