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