Skip to content

Commit

Permalink
#109 smaller sizes for smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
ephes committed Nov 25, 2023
1 parent 5b9c26c commit e515fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cast/templates/cast/image/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<source
srcset="{{ value.thumbnail.srcset.avif }}"
type="image/avif"
sizes="{{ value.thumbnail.sizes }}"
sizes="(max-width: 600px) 555px, {{ value.thumbnail.sizes }}"
>
<img
class="cast-image"
alt="{{ value.default_alt_text }}"
src="{{ value.thumbnail.src.jpeg }}"
srcset="{{ value.thumbnail.srcset.jpeg }}"
sizes="{{ value.thumbnail.sizes }}"
sizes="(max-width: 600px) 555px {{ value.thumbnail.sizes }}"
width="{{ value.thumbnail.width }}"
height="{{ value.thumbnail.height }}"
>
Expand Down

0 comments on commit e515fd3

Please sign in to comment.