Minor clean up

This commit is contained in:
Bartek Fabiszewski 2019-12-16 12:10:33 +01:00
parent 6295595820
commit 8260b7ab6c
2 changed files with 11 additions and 2 deletions

View File

@ -204,8 +204,12 @@ label[for=user] {
z-index: 10000; z-index: 10000;
} }
#chart { #chart {
font-family: 'Open Sans', Verdana, sans-serif;
position: fixed; position: fixed;
bottom: 0; left:0; right: 0; padding: 0 10px;
bottom: -15px;
left:0;
right: 0;
height: 200px; height: 200px;
margin-right: 165px; margin-right: 165px;
background-color: white; background-color: white;
@ -213,7 +217,7 @@ label[for=user] {
} }
#chart-close { #chart-close {
position: fixed; position: fixed;
bottom: 175px; bottom: 160px;
right: 175px; right: 175px;
z-index: 10001; z-index: 10001;
font-size: 0.8em; font-size: 0.8em;
@ -368,6 +372,10 @@ button > * {
stroke-width: 2px; !important; stroke-width: 2px; !important;
} }
.ct-axis-title {
font-size: 0.8em;
}
/* openlayers 3 popup */ /* openlayers 3 popup */
.ol-popup { .ol-popup {
position: absolute; position: absolute;

View File

@ -34,6 +34,7 @@ describe('Google Maps map API tests', () => {
GoogleMapsApi.authError = false; GoogleMapsApi.authError = false;
GoogleMapsApi.gmInitialized = false; GoogleMapsApi.gmInitialized = false;
config.initialize(); config.initialize();
lang.init(config);
container = document.createElement('div'); container = document.createElement('div');
mockViewModel = { mapElement: container, model: {} }; mockViewModel = { mapElement: container, model: {} };
api = new GoogleMapsApi(mockViewModel); api = new GoogleMapsApi(mockViewModel);