diff --git a/assets/section-main-product.css b/assets/section-main-product.css index d50877fc836..c9dfc5825a7 100644 --- a/assets/section-main-product.css +++ b/assets/section-main-product.css @@ -185,6 +185,10 @@ product-info { max-width: 100%; } +.product-form__input .svg-wrapper { + right: 1.5rem; +} + .product-form__submit { margin-bottom: 1rem; } diff --git a/config/settings_schema.json b/config/settings_schema.json index 8418a6eefeb..b18edec9f1b 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -2,7 +2,7 @@ { "name": "theme_info", "theme_name": "Dawn", - "theme_version": "15.0.1", + "theme_version": "15.1.0", "theme_author": "Shopify", "theme_documentation_url": "https://help.shopify.com/manual/online-store/themes", "theme_support_url": "https://support.shopify.com/" diff --git a/release-notes.md b/release-notes.md index 0a87e004198..8fdf66f0c22 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,6 +1,4 @@ -Dawn 15.0.1 introduces a few bug fixes. +Dawn 15.1.0 changes the way SVGs are rendered ### Fixes and improvements -- Fix issues where when the header section is hidden, some functionalities were broken. -- Update cart errors to be output as a string rather than a HTML element. -- Escape variant option names so that when an option includes quotation marks it doesn’t cause undesired effects. -- Fix placeholder product cards that were not showing a default price and make the check more robust. +- Moves SVGs from Liquid snippets to `.svg` files in the `/assets` folder +- Uses new `inline_asset_content` Liquid filter to render SVGs diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index d51fb296b9e..9dc470715ed 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -43,9 +43,7 @@
{%- if section.blocks.first.settings.link != blank -%} @@ -106,9 +104,7 @@ {%- if block.settings.link != blank -%} diff --git a/sections/multicolumn.liquid b/sections/multicolumn.liquid index 9b62c72f462..387962ffca0 100644 --- a/sections/multicolumn.liquid +++ b/sections/multicolumn.liquid @@ -135,7 +135,9 @@ {% endif %} > {{- block.settings.link_label | escape -}} - <span class="icon-wrap"> {{ 'icon-arrow.svg' | inline_asset_content }} + {{ 'icon-arrow.svg' | inline_asset_content }} {%- endif -%} diff --git a/snippets/header-mega-menu.liquid b/snippets/header-mega-menu.liquid index 8165ccdcb17..59c7d1a850a 100644 --- a/snippets/header-mega-menu.liquid +++ b/snippets/header-mega-menu.liquid @@ -23,9 +23,7 @@ > {{- link.title | escape -}} - - {{- 'icon-caret.svg' | inline_asset_content -}} - + {{- 'icon-caret.svg' | inline_asset_content -}}