From a6904ed59667d9b192edcb161fcf6b41b77a763e Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 16 Jul 2024 12:13:46 -0500 Subject: [PATCH] Website: update space between sections on landing pages. (#20510) Closes: #20495 Changes: - Updated the space between sections on the endpoint ops and vulnerability management pages. --- website/assets/styles/pages/endpoint-ops.less | 28 ++++++++++++------- .../pages/vulnerability-management.less | 28 ++++++++++++------- website/views/pages/endpoint-ops.ejs | 6 ++-- .../views/pages/vulnerability-management.ejs | 12 ++++---- 4 files changed, 45 insertions(+), 29 deletions(-) diff --git a/website/assets/styles/pages/endpoint-ops.less b/website/assets/styles/pages/endpoint-ops.less index 6ddf31696e..52cdb20351 100644 --- a/website/assets/styles/pages/endpoint-ops.less +++ b/website/assets/styles/pages/endpoint-ops.less @@ -408,11 +408,15 @@ margin-bottom: 24px; } } - [purpose='feature-image'].left { - margin-left: 24px; + [purpose='feature'].flex-column { + [purpose='feature-text'] { + margin-left: 48px; + } } - [purpose='feature-image'].right { - margin-right: 24px; + [purpose='feature'].flex-column-reverse { + [purpose='feature-text'] { + margin-right: 48px; + } } [purpose='feature-image'] { max-width: 380px; @@ -610,6 +614,16 @@ [purpose='feature-text'] { width: unset; } + [purpose='feature'].flex-column { + [purpose='feature-text'] { + margin-left: auto; + } + } + [purpose='feature'].flex-column-reverse { + [purpose='feature-text'] { + margin-right: auto; + } + } [purpose='feature'] { margin-bottom: 120px; } @@ -617,12 +631,6 @@ margin-left: auto; margin-right: auto; margin-bottom: 60px; - &.left { - margin-left: auto; - } - &.right { - margin-right: auto; - } } [purpose='testimonial-videos'] { margin-left: auto; diff --git a/website/assets/styles/pages/vulnerability-management.less b/website/assets/styles/pages/vulnerability-management.less index cd64ee5553..17a1504178 100644 --- a/website/assets/styles/pages/vulnerability-management.less +++ b/website/assets/styles/pages/vulnerability-management.less @@ -351,11 +351,15 @@ } } - [purpose='feature-image'].left { - margin-left: 24px; + [purpose='feature'].flex-column { + [purpose='feature-text'] { + margin-left: 48px; + } } - [purpose='feature-image'].right { - margin-right: 24px; + [purpose='feature'].flex-column-reverse { + [purpose='feature-text'] { + margin-right: 48px; + } } [purpose='feature-image'] { max-width: 380px; @@ -539,16 +543,20 @@ [purpose='feature'] { margin-bottom: 120px; } + [purpose='feature'].flex-column { + [purpose='feature-text'] { + margin-left: auto; + } + } + [purpose='feature'].flex-column-reverse { + [purpose='feature-text'] { + margin-right: auto; + } + } [purpose='feature-image'] { margin-left: auto; margin-right: auto; margin-bottom: 60px; - &.left { - margin-left: auto; - } - &.right { - margin-right: auto; - } } [purpose='hero-image'] { margin-bottom: 60px; diff --git a/website/views/pages/endpoint-ops.ejs b/website/views/pages/endpoint-ops.ejs index 7a5bbd81c9..fa80f91e7d 100644 --- a/website/views/pages/endpoint-ops.ejs +++ b/website/views/pages/endpoint-ops.ejs @@ -128,7 +128,7 @@

*Coming soon

-
+
Ship data to any platform
@@ -194,7 +194,7 @@

Ease your logging burden, pull the data you need.

-
+
Ship data to any platform
@@ -230,7 +230,7 @@ <%- partial('../partials/calendar-banner.partial.ejs') %>
-
+
Ship data to any platform
diff --git a/website/views/pages/vulnerability-management.ejs b/website/views/pages/vulnerability-management.ejs index 5b2c4fc9d4..833a0abe04 100644 --- a/website/views/pages/vulnerability-management.ejs +++ b/website/views/pages/vulnerability-management.ejs @@ -52,7 +52,7 @@
-
+
Report what matters
@@ -75,13 +75,13 @@

Automatically match CVEs to your operating systems, apps, extensions, browser plugins, Python libraries, everything.

-
+
Deep context from the environment
-
+
Untangle your security stack
@@ -106,13 +106,13 @@

Deep-link live data with internal IT and platform teams.

-
+
Mitigate CVEs automatically
<%- partial('../partials/calendar-banner.partial.ejs') %>
-
+
Up-to-date data without scans
@@ -120,7 +120,7 @@

Traditional network vulnerability scans can clog your network and even haunt your printers with pages full of wingdings. Fleet does things differently.

Eliminate the risk of side effects from scanning the network.

-

Lightweight enough for the most brittle environments (OT, data centers, embedded/BTS, low-latency gaming servers).

+

Lightweight enough for the most brittle environments (OT, data centers, embedded/BTS, low-latency gaming servers).

Quickly pull data about important CVEs and zero days during an incident or audit.