From e9c5482a9d348131b3b6c15d420da31174376a6f Mon Sep 17 00:00:00 2001 From: Bing <32815172+BingCS@users.noreply.github.com> Date: Thu, 29 Aug 2024 23:06:41 +0800 Subject: [PATCH] Update about.liquid --- _layouts/about.liquid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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