fix: layout
This commit is contained in:
parent
941211b959
commit
b0da0bd2da
2 changed files with 2 additions and 7 deletions
src
|
@ -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>
|
|
@ -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 %}
|
||||
|
||||
|
|
Reference in a new issue