mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user