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
11
Utils.ts
11
Utils.ts
|
@ -154,5 +154,16 @@ export class Utils {
|
|||
});
|
||||
|
||||
}
|
||||
|
||||
public static LoadCustomCss(location: string){
|
||||
var head = document.getElementsByTagName('head')[0];
|
||||
var link = document.createElement('link');
|
||||
link.id = "customCss";
|
||||
link.rel = 'stylesheet';
|
||||
link.type = 'text/css';
|
||||
link.href = location;
|
||||
link.media = 'all';
|
||||
head.appendChild(link);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue