Skip to content

Commit

Permalink
try adding the style tags
Browse files Browse the repository at this point in the history
  • Loading branch information
datapolitical committed Jul 15, 2023
1 parent a73eb1d commit f439059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/tabs-css.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% for
<style>{% for
category in site.data.recipe_categories %} [value="{{category.name}}"]:checked ~
.filters [for="{{category.name}}"]{% unless forloop.last %}, {% endunless %}{%
endfor %} { background: transparent; color: var(--white); border-bottom: 0.25rem
Expand All @@ -12,4 +12,4 @@
[data-category] { display: block; } {% for category in
site.data.recipe_categories offset:1 %} [value="{{category.name}}"]:checked ~
.image-grid .image-container:not([data-category~="{{category.name}}"]){% unless
forloop.last %}, {% endunless %}{% endfor %} { display: none; }
forloop.last %}, {% endunless %}{% endfor %} { display: none; }</style>

0 comments on commit f439059

Please sign in to comment.