Adjust position of live search drop-down for smaller screens

Refs #228
This commit is contained in:
Will Abson
2016-06-27 10:48:47 +01:00
parent 8d72004133
commit 1276b0d4de

View File

@@ -1,6 +1,6 @@
:host {
position: absolute;
z-index: 1;
z-index: 5;
display: none;
color: #555;
margin: -21px 0px 0px 0px;
@@ -36,3 +36,12 @@
overflow: hidden;
text-overflow: ellipsis;
}
@media screen and (max-width: 400px) {
:host {
right: 0;
}
.truncate{
width: 200px;
}
}