diff --git a/_layouts/about.liquid b/_layouts/about.liquid index 48fc4bc2..a92b4235 100644 --- a/_layouts/about.liquid +++ b/_layouts/about.liquid @@ -26,7 +26,8 @@ layout: default {% assign profile_image_class = 'img-fluid z-depth-1 rounded' %} {% endif %} - {% capture sizes %}(min-width: {{site.max_width}}) 30vw, (min-width: 576px) 30vw, 30vw"{% endcapture %} + {% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) + 30vw, 95vw"{% endcapture %} {% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image cache_bust=true