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:
Maximilian Krög
2022-08-13 16:39:28 +02:00
parent 839e1d1c65
commit 259e3fe1c9
5 changed files with 6 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ layout: default.hbs
<p>
If you want to try out OpenLayers without downloading anything (<b>not recommended for production</b>), include the following in the head of your html page:
<pre><code class="language-html">&lt;script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ version }}/build/ol.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ version }}/css/ol.css"&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ version }}/theme/ol.css"&gt;
</code></pre>
</p>
</div>