Refactor home hero graphic styles and update image attributes for better responsiveness. Adjusted width to 100% with a max-width of 856px and set height to auto. Removed width attribute from the image tag in index.page.tsx.

This commit is contained in:
akcodez
2025-07-14 11:23:30 -07:00
parent a1227322fa
commit b416365695
3 changed files with 9 additions and 3 deletions

View File

@@ -33,10 +33,16 @@
}
#home-hero-graphic {
width: 856px;
width: 100%;
max-width: 856px;
height: auto;
object-fit: cover;
content: url("../img/home-hero.svg");
margin-bottom: 24px;
display: block;
margin-left: auto;
margin-right: auto;
@media (min-width: 992px) {
min-height: 470px;
}