Fix ol.css for some examples
- es2015-custom-element needs css variables declared in :host - external-map-map still does not work when editing in codesandbox, though that neither worked before.
This commit is contained in:
@@ -9,7 +9,7 @@ class OLComponent extends HTMLElement {
|
||||
this.shadow = this.attachShadow({mode: 'open'});
|
||||
const link = document.createElement('link');
|
||||
link.setAttribute('rel', 'stylesheet');
|
||||
link.setAttribute('href', 'css/ol.css');
|
||||
link.setAttribute('href', 'theme/ol.css');
|
||||
this.shadow.appendChild(link);
|
||||
const style = document.createElement('style');
|
||||
style.innerText = `
|
||||
|
||||
Reference in New Issue
Block a user