More css tweaks

This commit is contained in:
Pieter Vander Vennet 2020-11-14 03:26:09 +01:00
parent 3fdb84e481
commit c86f4e4aff
10 changed files with 36 additions and 25 deletions

View file

@ -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);
}
}