Website: Update endpoints box on homepage, center hero image on /endpoint-ops (#16555)

Closes: #16548

Changes:
- Updated the styles of the "An open interface for every endpoint"
callout box on the homepage to resolve a browser compatibility issue
- Removed the left padding from the hero image on /endpoint-ops on
smaller screen sizes to keep the image centered.
This commit is contained in:
Eric 2024-02-01 17:17:13 -06:00 committed by GitHub
parent cb593d4818
commit 9ac8ab203a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 5 deletions

View file

@ -488,6 +488,10 @@
}
[purpose='hero-image'] {
margin-right: unset;
margin-bottom: 60px;
img {
padding-left: 0px;
}
}
[purpose='hero-text'] {
width: unset;
@ -521,9 +525,6 @@
margin-right: auto;
}
}
[purpose='hero-image'] {
margin-bottom: 60px;
}
[purpose='testimonials'] {
margin-bottom: 120px;
}

View file

@ -484,7 +484,6 @@
padding: 0px 0px 0px 80px;
align-items: center;
justify-content: space-between;
gap: 24px;
align-self: stretch;
border-radius: 24px;
border: 2px solid #E2E4EA;
@ -500,6 +499,7 @@
}
}
[purpose='endpoints-images'] {
margin-left: 24px;
overflow: hidden;
max-width: 410px;
width: 50%;
@ -1063,7 +1063,7 @@
padding-left: 40px;
padding-right: 40px;
margin-top: 0px;
margin-bottom: auto;
margin-bottom: 40px;
}
[purpose='endpoints-images'] {
width: 110%;
@ -1071,7 +1071,9 @@
align-items: center;
display: flex;
flex-direction: column;
margin-left: 0px;
[purpose='endpoint-images-row'] {
min-height: 80px;
[purpose='endpoint-image-box'] {
display: flex;
width: 80px;
@ -1333,6 +1335,7 @@
[purpose='endpoints-banner'] {
[purpose='endpoints-images'] {
[purpose='endpoint-images-row'] {
min-height: 60px;
margin-bottom: 12px;
[purpose='endpoint-image-box'] {
width: 60px;
@ -1422,8 +1425,12 @@
}
}
[purpose='endpoints-banner'] {
[purpose='endpoint-banner-text'] {
margin-bottom: 32px;
}
[purpose='endpoints-images'] {
[purpose='endpoint-images-row'] {
min-height: 54.427px;
margin-bottom: 12px;
[purpose='endpoint-image-box'] {
width: 54.427px;