Skip to content

Commit

Permalink
refactor(connect-plugin): adjust the look to be consistent with the …
Browse files Browse the repository at this point in the history
…rest of the plugins
  • Loading branch information
mmelko authored and tadayosi committed May 7, 2024
1 parent 2c2c534 commit 692a3b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions packages/hawtio/src/plugins/connect/Connect.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {
Divider,
Nav,
NavItem,
NavList,
PageGroup,
PageNavigation,
PageSection,
PageSectionVariants,
Popover,
Text,
TextContent,
Expand Down Expand Up @@ -53,9 +54,13 @@ export const Connect: React.FunctionComponent = () => {
Connect <ConnectHint />
</Title>
</PageSection>
<PageNavigation>{nav}</PageNavigation>
<Divider />
<PageSection type='tabs' variant={PageSectionVariants.light} hasShadowBottom>
{nav}
</PageSection>
<Divider />
</PageGroup>
<PageSection id='connect-main'>
<PageSection id='connect-main' variant={PageSectionVariants.light}>
<Routes>
{routes}
{/* connect/login should be hidden to nav */}
Expand Down
4 changes: 3 additions & 1 deletion packages/hawtio/src/plugins/connect/discover/Discover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ export const Discover: React.FunctionComponent = () => {

return (
<React.Fragment>
<Card style={{ marginBottom: '1rem' }}>{toolbar}</Card>
<Card style={{ marginBottom: '1rem' }} isFlat>
{toolbar}
</Card>
<Gallery hasGutter minWidths={{ default: '400px' }}>
{label === 'Agent' &&
filteredAgents.map((agent, index) => (
Expand Down

0 comments on commit 692a3b3

Please sign in to comment.