Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
width: 100%;
}

.summary-expandable .pf-v6-c-expandable-section__toggle,
#summary-expandable > .pf-v6-c-expandable-section__toggle .pf-v6-c-button__text,
.review-expandable > .pf-v6-c-expandable-section__toggle {
color: initial;
text-align: left;
}

.summary-expandable
> .pf-v6-c-expandable-section__toggle
> .pf-v6-c-expandable-section__toggle-icon {
#summary-expandable > .pf-v6-c-expandable-section__toggle .pf-v6-c-button__icon {
visibility: hidden;
}
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const ReviewPreflightChecks = ({ cluster }: { cluster: Cluster }) => {
<ExpandableSection
toggleContent={
<Grid>
<GridItem span={2} className="pf-v6-u-text-wrap">
<GridItem span={2} className="pf-v6-u-text-wrap pf-v6-u-text-align-start">
Preflight checks
</GridItem>
{!isChecksExpanded && <PreflightChecksDetailCollapsed cluster={cluster} />}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { ExpandableSection } from '@patternfly/react-core';
import {
DetailItem,
DetailList,
Expand Down Expand Up @@ -67,9 +68,14 @@ export const ReviewSummaryContent = ({ cluster }: { cluster: Cluster }) => {

const ReviewSummary = ({ cluster }: { cluster: Cluster }) => {
return (
<TableSummaryExpandable title={'Cluster summary'} id={'summary-expandable'}>
<ExpandableSection
toggleContent={'Cluster summary'}
id={'summary-expandable'}
isExpanded={true}
isIndented
>
<ReviewSummaryContent cluster={cluster} />
</TableSummaryExpandable>
</ExpandableSection>
);
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { ExpandableSection } from '@patternfly/react-core';
import { ExpandableSection, Content } from '@patternfly/react-core';

export const TableSummaryExpandable = ({
title,
Expand All @@ -13,7 +13,7 @@ export const TableSummaryExpandable = ({
const [isExpanded, setExpanded] = React.useState(true);
return (
<ExpandableSection
toggleContent={<b>{title}</b>}
toggleContent={<Content className="pf-v6-u-font-weight-bold">{title}</Content>}
isExpanded={isExpanded}
onToggle={() => setExpanded(!isExpanded)}
isIndented
Expand Down
Loading