From 28346433cc24bfb4a6377e193f7cc4ef94d9693e Mon Sep 17 00:00:00 2001 From: ajaypratap003 Date: Mon, 6 May 2024 18:58:26 +0530 Subject: [PATCH] fixed layout issues --- .../examples/DescriptionListBasic.tsx | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/packages/react-core/src/demos/DescriptionList/examples/DescriptionListBasic.tsx b/packages/react-core/src/demos/DescriptionList/examples/DescriptionListBasic.tsx index 7b1578f62c5..772ce127546 100644 --- a/packages/react-core/src/demos/DescriptionList/examples/DescriptionListBasic.tsx +++ b/packages/react-core/src/demos/DescriptionList/examples/DescriptionListBasic.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { - Button, DescriptionList, DescriptionListTerm, DescriptionListGroup, @@ -13,7 +12,9 @@ import { TextContent, Text, Title, - Divider + Divider, + Flex, + FlexItem } from '@patternfly/react-core'; import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon'; import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper'; @@ -32,44 +33,47 @@ export const DescriptionListBasic: React.FunctionComponent = () => ( Details - + - + Name mary-test - Network Policies + Status - Network Policies + + + + + Active + - Status + Default pull secret + Not configured + + + Tolerations + 6 Tolerations + + + Network Policies - + Network Policies Display name mary - - Default pull secret - Not configured - Requester kube:admin - - Tolerations - 6 Tolerations - Created at: 3 minutes ago