mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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);
|
this.moveSelection(-1);
|
||||||
}
|
}
|
||||||
if (evt.keyCode === 13) {
|
if (evt.keyCode === 13) {
|
||||||
if (this.$scope.tagMode) {
|
if (this.tagsMode) {
|
||||||
var tag = this.results[this.selectedIndex];
|
var tag = this.results[this.selectedIndex];
|
||||||
if (tag) {
|
if (tag) {
|
||||||
this.filterByTag(tag.term, null);
|
this.filterByTag(tag.term, null);
|
||||||
|
@ -122,14 +122,11 @@
|
|||||||
content: "\f015";
|
content: "\f015";
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover,
|
||||||
|
&.selected {
|
||||||
background-color: $tight-form-func-bg;
|
background-color: $tight-form-func-bg;
|
||||||
@include left-brand-border-gradient();
|
@include left-brand-border-gradient();
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
|
||||||
background-color: $grafanaListBackground;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-result-tags {
|
.search-result-tags {
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
.navbar-page-btn {
|
.navbar-page-btn {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transform: translate3d(-95px, 0, 0);
|
transform: translate3d(-50px, 0, 0);
|
||||||
transition: all 1.5s ease-in-out 1s;
|
transition: all 1.5s ease-in-out 1s;
|
||||||
.icon-gf {
|
.icon-gf {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user