mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed alignment in search + fixed issue ie popup
This commit is contained in:
parent
e622d5582b
commit
d4be953d23
@ -35,12 +35,12 @@ export class Tracker {
|
|||||||
|
|
||||||
$window.onbeforeunload = () => {
|
$window.onbeforeunload = () => {
|
||||||
if (this.ignoreChanges()) {
|
if (this.ignoreChanges()) {
|
||||||
return null;
|
return undefined;
|
||||||
}
|
}
|
||||||
if (this.hasChanges()) {
|
if (this.hasChanges()) {
|
||||||
return 'There are unsaved changes to this dashboard';
|
return 'There are unsaved changes to this dashboard';
|
||||||
}
|
}
|
||||||
return null;
|
return undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
scope.$on('$locationChangeStart', (event, next) => {
|
scope.$on('$locationChangeStart', (event, next) => {
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
//padding: 0.5rem 1.5rem 0.5rem 0;
|
//padding: 0.5rem 1.5rem 0.5rem 0;
|
||||||
padding: 1rem 1rem 0.75rem 1rem;
|
padding: 1rem 1rem 0.75rem 1rem;
|
||||||
height: 51px;
|
height: 51px;
|
||||||
line-height: 51px;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
outline: none;
|
outline: none;
|
||||||
background: $side-menu-bg;
|
background: $side-menu-bg;
|
||||||
|
Loading…
Reference in New Issue
Block a user