fixed unit tests

This commit is contained in:
Torkel Ödegaard 2018-12-06 12:29:55 -08:00
parent 9ac3821454
commit e7fe0bd668
2 changed files with 6 additions and 5 deletions

View File

@ -54,7 +54,11 @@ export class Settings {
} }
} }
const bootData = (window as any).grafanaBootData || { settings: {} }; const bootData = (window as any).grafanaBootData || {
settings: {},
user: {},
};
const options = bootData.settings; const options = bootData.settings;
options.bootData = bootData; options.bootData = bootData;

View File

@ -78,6 +78,7 @@ $column-horizontal-spacing: 10px;
.logs-row__labels { .logs-row__labels {
max-width: 20%; max-width: 20%;
line-height: 1.2;
} }
.logs-row__message { .logs-row__message {
@ -189,10 +190,6 @@ $column-horizontal-spacing: 10px;
box-shadow: $popover-shadow; box-shadow: $popover-shadow;
} }
.logs-row__labels {
line-height: 1.2;
}
.logs-stats__info { .logs-stats__info {
margin-bottom: $spacer / 2; margin-bottom: $spacer / 2;
} }