Skip to content

Commit

Permalink
Estimated
Browse files Browse the repository at this point in the history
  • Loading branch information
atriantas committed May 24, 2024
1 parent 395b6f1 commit ac05ab4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions assets/estimated-time.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@
.v-route-block-bold{
font-size: 18px;
font-weight: bold;
}

.shipping-icon {
height:20px;
margin-right:5px;
position: relative;
top: 5px;
}
7 changes: 5 additions & 2 deletions snippets/estimated-time.liquid
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<div style="background:{{ block.settings.delivery_color}}" class="v-route-cont">

Check notice on line 1 in snippets/estimated-time.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/estimated-time.liquid#L1

[SpaceInsideBraces] Space missing before '}}'
<div class="estimated-title">
<img
src="https://cdn.shopify.com/s/files/1/0587/8254/8168/files/calendar_month_24dp_FILL0_wght300_GRAD0_opsz24.png?v=1716519338"
style="height:20px;margin-right:10px;position: relative;top: 5px;"
class="shipping-icon"
src="{{ 'calendar_month_24dp_FILL0_wght300_GRAD0_opsz24.png' | image_url | image_tag: 'cyanowood-shipping-icon' }}"
loading="lazy"
width="96"
height="96"
>
<span class="ma2-white">{{ block.settings.estimate }}</span>
<span class="v-estimated-date"></span>
Expand Down

0 comments on commit ac05ab4

Please sign in to comment.