mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
fix: fixed search issues with in active mode and keyboard nav
This commit is contained in:
parent
724368d0cd
commit
8440d2d0a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user