{% import 'macros/stickers.html' as stick %} {# One row only; center when not overflowing; horizontal scroll when needed #} {% for s in stickers %} {% set is_on = (selected_stickers and (s.name|lower in selected_stickers)) %} {% set qs = {"remove_sticker": s.name, "page": None}|qs if is_on else {"add_sticker": s.name, "page": None}|qs %} {% set href = (current_local_href ~ qs)|host %} {{s.name|capitalize if s.name|lower != 'sugarfree' else 'Sugar'}} {{ stick.sticker(asset_url('stickers/' + s.name + '.svg'), s.name, is_on) }} {% if s.count is not none %} {{ s.count }} {% endif %} {% endfor %} {# Optional: hide horizontal scrollbar on mobile while keeping scrollable #}