diff --git a/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js b/src/PresentationalComponents/StatusReports/AdvisoriesStatusReport.js index 115e37636..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)} ); @@ -64,7 +68,7 @@ const AdvisoriesStatusBar = () => { {advisories.data.map((advisory) => ( - + ))} 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); +}