mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
feat: make maintenance banner sticky (#5016)
After checking with @nicolaesocaciu we came to the conclusion that the maintenance banner should be sticky. Co-authored-by Nicolae <nicolae@getunleash.ai>
This commit is contained in:
parent
a9a75d5e82
commit
36ae842248
@ -18,6 +18,9 @@ const StyledDiv = styled('div')(({ theme }) => ({
|
|||||||
height: '65px',
|
height: '65px',
|
||||||
borderBottom: `1px solid ${theme.palette.error.border}`,
|
borderBottom: `1px solid ${theme.palette.error.border}`,
|
||||||
whiteSpace: 'pre-wrap',
|
whiteSpace: 'pre-wrap',
|
||||||
|
position: 'sticky',
|
||||||
|
top: 0,
|
||||||
|
zIndex: theme.zIndex.sticky - 100,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const MaintenanceBanner = () => {
|
const MaintenanceBanner = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user