Skip to content

Commit 54cd73d

Browse files
committed
fix: ProfileExplorer select has odd vertical centering due to use of Title
1 parent 1b7e9ee commit 54cd73d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

Diff for: plugins/plugin-codeflare/src/components/ProfileExplorer.tsx

+5-10
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ import {
3030
DropdownItem,
3131
DropdownSeparator,
3232
KebabToggle,
33-
// Select,
34-
// SelectOption,
35-
Title,
3633
TreeView,
3734
TreeViewDataItem,
3835
} from "@patternfly/react-core"
@@ -288,13 +285,11 @@ class ProfileCard extends React.PureComponent<ProfileCardProps, ProfileCardState
288285

289286
private title() {
290287
return (
291-
<Title headingLevel="h2" size="xl">
292-
<ProfileSelect
293-
selectedProfile={this.props.profile}
294-
profiles={this.props.profiles}
295-
onSelect={this.props.onSelectProfile}
296-
/>
297-
</Title>
288+
<ProfileSelect
289+
selectedProfile={this.props.profile}
290+
profiles={this.props.profiles}
291+
onSelect={this.props.onSelectProfile}
292+
/>
298293
)
299294
}
300295

0 commit comments

Comments
 (0)