mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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:
parent
cb593d4818
commit
9ac8ab203a
2 changed files with 13 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
11
website/assets/styles/pages/homepage.less
vendored
11
website/assets/styles/pages/homepage.less
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue