1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +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:
Nuno Góis 2023-10-13 10:29:01 +01:00 committed by GitHub
parent a9a75d5e82
commit 36ae842248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ const StyledDiv = styled('div')(({ theme }) => ({
height: '65px',
borderBottom: `1px solid ${theme.palette.error.border}`,
whiteSpace: 'pre-wrap',
position: 'sticky',
top: 0,
zIndex: theme.zIndex.sticky - 100,
}));
const MaintenanceBanner = () => {