new_site/_includes
ZL Asica 7c2e1c2c6c
Fix Image Dimension Styles for Better Responsiveness (#2166)
In this pull request, I've made adjustments to the image element's
handling of dimension properties. Previously, `min-width`, `min-height`,
`max-width`, and `max-height` were incorrectly placed as HTML attributes
on the `<img>` tag, which is not supported for these CSS properties.
This oversight could lead to issues with image responsiveness and layout
stability.

Changes:
- Moved `min-width`, `min-height`, `max-width`, and `max-height`
properties into the `style` attribute of the `<img>` tag. This change
ensures that these properties are correctly applied and recognized as
CSS properties, enhancing the responsiveness and flexibility of our
image displays.
- Retained `width` and `height` as attributes on the `<img>` tag to
maintain the intrinsic aspect ratio of images and help the browser
allocate space before images are fully loaded, improving the page load
experience.

These adjustments will ensure that our images are more responsive and
better adhere to the specified dimensions, improving the overall user
experience for the template.
2024-02-07 15:34:52 -03:00
..
cv format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
repository format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
resume format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
scripts Move libs versions to config (#2139) 2024-01-28 19:10:42 -03:00
audio.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
disqus.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
figure.liquid Fix Image Dimension Styles for Better Responsiveness (#2166) 2024-02-07 15:34:52 -03:00
footer.liquid Axe accessibility test support (#2080) 2024-01-15 16:38:31 -03:00
giscus.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
head.liquid Adding display swap to Google Fonts 2024-01-28 20:11:44 -03:00
header.liquid Axe accessibility test support (#2080) 2024-01-15 16:38:31 -03:00
latest_posts.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
metadata.liquid Move libs versions to config (#2139) 2024-01-28 19:10:42 -03:00
news.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
pagination.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
projects.liquid Fix broken links (#2077) 2024-01-15 11:09:45 -03:00
projects_horizontal.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
related_posts.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
selected_papers.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
social.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
video.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00