forked from MapComplete/MapComplete
More css tweaks
This commit is contained in:
parent
3fdb84e481
commit
c86f4e4aff
10 changed files with 36 additions and 25 deletions
5
index.ts
5
index.ts
|
@ -5,6 +5,7 @@ import {QueryParameters} from "./Logic/Web/QueryParameters";
|
|||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import * as $ from "jquery";
|
||||
import LayoutConfig from "./Customizations/JSON/LayoutConfig";
|
||||
import {Utils} from "./Utils";
|
||||
|
||||
let defaultLayout = "bookcases"
|
||||
// --------------------- Special actions based on the parameters -----------------
|
||||
|
@ -29,6 +30,10 @@ if(location.href.indexOf("pietervdvn.github.io") >= 0){
|
|||
defaultLayout = "bookcases"
|
||||
}
|
||||
|
||||
const customCssQP = QueryParameters.GetQueryParameter("custom-css", "", "If specified, the custom css from the given link will be loaded additionaly");
|
||||
if(customCssQP.data !== undefined && customCssQP.data !== ""){
|
||||
Utils.LoadCustomCss(customCssQP.data);
|
||||
}
|
||||
|
||||
|
||||
let testing: UIEventSource<string>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue