fix: layout
This commit is contained in:
parent
941211b959
commit
b0da0bd2da
2 changed files with 2 additions and 7 deletions
|
@ -1,4 +1,2 @@
|
||||||
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
|
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
|
||||||
<div class="client-side" style="height:28px;margin-bottom:1rem">
|
<now-playing></now-playing>
|
||||||
<now-playing></now-playing>
|
|
||||||
</div>
|
|
|
@ -74,10 +74,7 @@ The component is then included via a `playing.liquid` template:
|
||||||
{% raw %}
|
{% raw %}
|
||||||
```liquid
|
```liquid
|
||||||
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
|
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
|
||||||
<!-- I'm just a div, here to prevent layout shifts -->
|
<now-playing></now-playing>
|
||||||
<div class="client-side" style="height:28px;margin-bottom:1rem">
|
|
||||||
<now-playing></now-playing>
|
|
||||||
</div>
|
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
|
Reference in a new issue