feat: style layers, imports and nesting
This commit is contained in:
parent
8e5d497389
commit
d4c87b8abe
58 changed files with 968 additions and 981 deletions
|
@ -1,10 +1,4 @@
|
|||
{% if data.size > 0 %}
|
||||
{% capture css %}
|
||||
{% render "../../../assets/styles/components/track-chart.css" %}
|
||||
{% render "../../../assets/styles/components/progress-bar.css" %}
|
||||
{% endcapture %}
|
||||
<style>{{ css}}</style>
|
||||
{% endif %}
|
||||
<div class="track__chart">
|
||||
{% for item in data limit: 10 %}
|
||||
{%- assign percentage = item.plays | calculatePlayPercentage: mostPlayed -%}
|
||||
|
@ -21,4 +15,5 @@
|
|||
{% render "partials/now/progress-bar.liquid", percentage:percentage %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
Reference in a new issue