Skip to content

Commit

Permalink
refactor(logs-plugin): Change the styling to be consistent with the c…
Browse files Browse the repository at this point in the history
…amel-plugin appearance
  • Loading branch information
mmelko authored and tadayosi committed Apr 24, 2024
1 parent 7fe84d3 commit 096c83f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/hawtio/src/plugins/logs/Logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
DescriptionListDescription,
DescriptionListGroup,
DescriptionListTerm,
Divider,
EmptyState,
EmptyStateBody,
EmptyStateIcon,
Expand All @@ -18,6 +19,7 @@ import {
PageSection,
Pagination,
PaginationProps,
Panel,
SearchInput,
Select,
SelectOption,
Expand All @@ -40,10 +42,11 @@ import { LOGS_UPDATE_INTERVAL, logsService } from './logs-service'
export const Logs: React.FunctionComponent = () => {
return (
<React.Fragment>
<PageSection id='logs-header' variant='light'>
<PageSection id='logs-header' hasShadowBottom variant='light'>
<Title headingLevel='h1'>Logs</Title>
</PageSection>
<PageSection id='logs-table' isFilled>
<Divider />
<PageSection id='logs-table' variant='light' isFilled>
<LogsTable />
</PageSection>
</React.Fragment>
Expand Down Expand Up @@ -272,7 +275,7 @@ const LogsTable: React.FunctionComponent = () => {
}

return (
<Card>
<Panel>
{tableToolbar}
<TableComposable variant='compact' aria-label='Logs Table' isStriped isStickyHeader>
<Thead>
Expand Down Expand Up @@ -316,7 +319,7 @@ const LogsTable: React.FunctionComponent = () => {
</TableComposable>
{renderPagination('bottom', false)}
<LogModal isOpen={isModalOpen} onClose={handleModalToggle} log={selected} />
</Card>
</Panel>
)
}

Expand Down

0 comments on commit 096c83f

Please sign in to comment.