Skip to content

Commit

Permalink
Fix: minimap takes to much space
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Jul 16, 2023
1 parent 9e10bf4 commit 037c593
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UI/Map/MaplibreMap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</svelte:head>

<main>
<div bind:this={container} class="map" id="map" style=" position: absolute;
<div bind:this={container} class="map" id="map" style=" position: relative;
top: 0;
bottom: 0;
width: 100%;
Expand Down
4 changes: 3 additions & 1 deletion UI/i18n/Locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export default class Locale {
let source: UIEventSource<string>

if (QueryParameters.wasInitialized("language") || Utils.runningFromConsole) {
console.log("Language was initialized via URL-parameter - using the URL parameter as store instead of local storage", QueryParameters.wasInitialized("language"))
if(!Utils.runningFromConsole){
console.debug("Language was initialized via URL-parameter - using the URL parameter as store instead of local storage", QueryParameters.wasInitialized("language"))
}
source = QueryParameters.GetQueryParameter(
"language",
undefined,
Expand Down

0 comments on commit 037c593

Please sign in to comment.