diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9f771e0..f67d24e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,21 +7,13 @@ "label": "shopify switch human-dev", "type": "shell", "command": "shopify switch --store=human-dev.myshopify.com", - "presentation": { - "close": true, - "reveal": "never", - }, - // "runOptions": { - // "runOn": "folderOpen" - // }, - "problemMatcher": [] + "problemMatcher": [], }, - { "label": "minify current JS file", "type": "shell", "command": "npx esbuild --minify ${relativeFile} --outfile=${relativeFileDirname}/${fileBasenameNoExtension}.min.js", "problemMatcher": [] - }, + } ] } diff --git a/assets/theme.css b/assets/theme.css index b7addc9..c7a3bc9 100644 --- a/assets/theme.css +++ b/assets/theme.css @@ -57,6 +57,7 @@ img { margin-inline: auto; } +.padding { padding: var(--padding-y) var(--padding-x); } .padding-y { padding-block: var(--padding-y); } .padding-x { padding-inline: var(--padding-x); } diff --git a/config/settings_schema.json b/config/settings_schema.json index d18c4eb..c9f4956 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -2,7 +2,7 @@ { "name": "theme_info", "theme_name": "Danshari", - "theme_version": "0.4.4", + "theme_version": "0.5.0", "theme_author": "mitchuman", "theme_documentation_url": "https:\/\/github.com\/mitchuman\/danshari", "theme_support_url": "https:\/\/github.com\/mitchuman\/danshari" diff --git a/sections/collection.liquid b/sections/collection.liquid index abcba46..e92c3fc 100644 --- a/sections/collection.liquid +++ b/sections/collection.liquid @@ -1,10 +1,6 @@

{{ collection.title }}

-{%- unless collection.filters == empty -%} - {%- for filter in collection.filters -%} - - {%- endfor -%} -{%- endunless -%} +{% render 'collection-filter' %}