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 73a1d00 commit 3a99ce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/estimated-time.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.estimated-title {
font-size: 12px;
font-size: 14px;
text-align: center;
padding-top: 10px;
}
Expand Down
4 changes: 4 additions & 0 deletions snippets/estimated-time.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<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-icons-png.flaticon.com/512/709/709790.png"
style="width:25px;float:left;margin-right:10px;padding-bottom: 4px;"
>

Check failure on line 6 in snippets/estimated-time.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/estimated-time.liquid#L3-L6

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 6 in snippets/estimated-time.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/estimated-time.liquid#L3-L6

[RemoteAsset] Asset should be served by the Shopify CDN for better performance.

Check warning on line 6 in snippets/estimated-time.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/estimated-time.liquid#L3-L6

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
<span class="ma2-white">{{ block.settings.estimate }}</span>
<span class="v-estimated-date"></span>
</div>
Expand Down

0 comments on commit 3a99ce8

Please sign in to comment.