From a34863fea0f3ddf0d3d2c6617aff7cd46d66dce2 Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:37:43 -0500 Subject: [PATCH] Fleet UI: Update page descriptions styling (#17001) --- changes/16506-page-descriptions | 1 + frontend/pages/SoftwarePage/SoftwarePage.tsx | 8 +++----- .../policies/ManagePoliciesPage/ManagePoliciesPage.tsx | 7 ++----- 3 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 changes/16506-page-descriptions diff --git a/changes/16506-page-descriptions b/changes/16506-page-descriptions new file mode 100644 index 0000000000..5bdbd499f0 --- /dev/null +++ b/changes/16506-page-descriptions @@ -0,0 +1 @@ +- Update page description styling diff --git a/frontend/pages/SoftwarePage/SoftwarePage.tsx b/frontend/pages/SoftwarePage/SoftwarePage.tsx index 5ae4946970..828552b09d 100644 --- a/frontend/pages/SoftwarePage/SoftwarePage.tsx +++ b/frontend/pages/SoftwarePage/SoftwarePage.tsx @@ -299,11 +299,9 @@ const SoftwarePage = ({ children, router, location }: ISoftwarePageProps) => { (!isPremiumTier || !isAnyTeamSelected) && "and manage automations for detected vulnerabilities (CVEs)"}{" "} on{" "} - - {isPremiumTier && isAnyTeamSelected - ? "all hosts assigned to this team" - : "all of your hosts"} - + {isPremiumTier && isAnyTeamSelected + ? "all hosts assigned to this team" + : "all of your hosts"} .
); diff --git a/frontend/pages/policies/ManagePoliciesPage/ManagePoliciesPage.tsx b/frontend/pages/policies/ManagePoliciesPage/ManagePoliciesPage.tsx index b0c3e9dc89..43f68a7152 100644 --- a/frontend/pages/policies/ManagePoliciesPage/ManagePoliciesPage.tsx +++ b/frontend/pages/policies/ManagePoliciesPage/ManagePoliciesPage.tsx @@ -738,13 +738,10 @@ const ManagePolicyPage = ({- Add additional policies for all hosts assigned to this team - . -
+Add additional policies for all hosts assigned to this team.
) : (- Add policies for all of your hosts to see which pass your + Add policies for all of your hosts to see which pass your organization’s standards.
)}