From ec59cc72d87cfe3aee26eb931aefc25f249e4c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Dugovi=C4=8D?= Date: Fri, 3 Jul 2026 17:05:47 +0200 Subject: [PATCH 1/2] fix: fix Advisories cards breakpoints and spacing HMS-10843 --- .../StatusReports/AdvisoriesStatusReport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js b/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js index 115e37636..d582ff5cb 100644 --- a/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js +++ b/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js @@ -64,7 +64,7 @@ const AdvisoriesStatusBar = () => { {advisories.data.map((advisory) => ( - + ))} From 78a5c2f47d95ba566ac94e6709e6f87e548fac94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Dugovi=C4=8D?= Date: Mon, 3 Aug 2026 13:58:02 +0200 Subject: [PATCH 2/2] fix: add advisories card vertical spacing HMS-10843 --- .../StatusReports/AdvisoriesStatusReport.js | 6 +++++- src/PresentationalComponents/StatusReports/Card.css | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/PresentationalComponents/StatusReports/Card.css diff --git a/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js b/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js index d582ff5cb..a4e0552bd 100644 --- a/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js +++ b/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js @@ -12,6 +12,8 @@ import { processDate } from '@redhat-cloud-services/frontend-components-utilitie import AdvisorySeverity from '../AdvisorySeverity/AdvisorySeverity'; import RebootRequired from '../Snippets/RebootRequired'; +import './Card.css'; + const StatusCard = ({ advisory: { attributes, id } }) => ( {handlePatchLink(entityTypes.advisories, id)} @@ -29,6 +31,8 @@ const StatusCard = ({ advisory: { attributes, id } }) => ( {attributes.reboot_required && } + + {handlePatchLink( entityTypes.advisories, id, @@ -36,8 +40,8 @@ const StatusCard = ({ advisory: { attributes, id } }) => ( systemsCount: attributes.applicable_systems, }), )} - {handleLongSynopsis(attributes.synopsis)} + {handleLongSynopsis(attributes.synopsis)} ); diff --git a/src/PresentationalComponents/StatusReports/Card.css b/src/PresentationalComponents/StatusReports/Card.css new file mode 100644 index 000000000..387544eef --- /dev/null +++ b/src/PresentationalComponents/StatusReports/Card.css @@ -0,0 +1,3 @@ +.pf-v6-c-card__body:not(:last-of-type) { + padding-block-end: var(--pf-t--global--spacer--md); +}