fix: layout

This commit is contained in:
Cory Dransfeldt 2024-02-21 14:31:44 -08:00
parent 941211b959
commit b0da0bd2da
2 changed files with 2 additions and 7 deletions

View file

@ -1,4 +1,2 @@
<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>
</div>
<now-playing></now-playing>

View file

@ -74,10 +74,7 @@ The component is then included via a `playing.liquid` template:
{% raw %}
```liquid
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
<!-- I'm just a div, here to prevent layout shifts -->
<div class="client-side" style="height:28px;margin-bottom:1rem">
<now-playing></now-playing>
</div>
<now-playing></now-playing>
```
{% endraw %}