Commit 8440d2d0 by Torkel Ödegaard

fix: fixed search issues with in active mode and keyboard nav

parent 724368d0
......@@ -77,7 +77,7 @@ export class SearchCtrl {
this.moveSelection(-1);
}
if (evt.keyCode === 13) {
if (this.$scope.tagMode) {
if (this.tagsMode) {
var tag = this.results[this.selectedIndex];
if (tag) {
this.filterByTag(tag.term, null);
......
......@@ -122,14 +122,11 @@
content: "\f015";
}
&:hover {
&:hover,
&.selected {
background-color: $tight-form-func-bg;
@include left-brand-border-gradient();
}
&.selected {
background-color: $grafanaListBackground;
}
}
.search-result-tags {
......
......@@ -51,7 +51,7 @@
.navbar-page-btn {
border-color: transparent;
background: transparent;
transform: translate3d(-95px, 0, 0);
transform: translate3d(-50px, 0, 0);
transition: all 1.5s ease-in-out 1s;
.icon-gf {
opacity: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment