Skip to content

Commit

Permalink
refactor(styles): Set the default background-color to patternfly's st…
Browse files Browse the repository at this point in the history
…andard white

make Split's with three stretched to the height - logo
  • Loading branch information
mmelko authored and tadayosi committed Apr 23, 2024
1 parent 7212122 commit 950f9a2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/hawtio/src/plugins/camel/Camel.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.camel-split {
display: flex;
flex-direction: row;
height: calc(100vh - 85px);
}

.gutter {
Expand Down
1 change: 1 addition & 0 deletions packages/hawtio/src/plugins/jmx/Jmx.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.jmx-split {
display: flex;
flex-direction: row;
height: calc(100vh - 85px);
}

.gutter {
Expand Down
1 change: 1 addition & 0 deletions packages/hawtio/src/plugins/quartz/Quartz.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.quartz-split {
display: flex;
flex-direction: row;
height: calc(100vh - 85px);
}

.gutter {
Expand Down
3 changes: 3 additions & 0 deletions packages/hawtio/src/ui/page/HawtioPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#hawtio-main-page {
background-color: var(--pf-global--BackgroundColor--100);
}
2 changes: 2 additions & 0 deletions packages/hawtio/src/ui/page/HawtioPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { HawtioSidebar } from './HawtioSidebar'
import { PageContext } from './context'
import { log } from './globals'
import { sessionService, SessionMonitor } from '@hawtiosrc/ui/session'
import './HawtioPage.css'

export const HawtioPage: React.FunctionComponent = () => {
const { username, isLogin, userLoaded, userLoading } = useUser()
Expand Down Expand Up @@ -52,6 +53,7 @@ export const HawtioPage: React.FunctionComponent = () => {
<PageContext.Provider value={{ username, plugins }}>
<BackgroundImage src={backgroundImages} />
<Page
id='hawtio-main-page'
header={<HawtioHeader />}
sidebar={<HawtioSidebar />}
isManagedSidebar
Expand Down

0 comments on commit 950f9a2

Please sign in to comment.