diff --git a/src/templates/DashboardTemplate/Header/styles.tsx b/src/templates/DashboardTemplate/Header/styles.tsx index 6ffd760..cbdaebd 100644 --- a/src/templates/DashboardTemplate/Header/styles.tsx +++ b/src/templates/DashboardTemplate/Header/styles.tsx @@ -13,11 +13,13 @@ export const DashboardTemplateHeaderStyles = styled(Layout.Header, { ), })>` ${({ fixedOnScroll }) => { - return fixedOnScroll && + return ( + fixedOnScroll && css` position: sticky; top: 0; - z-index: ${getAliasToken('DashboardTemplate', 'zIndexBase') ?? 1050}; - `; + z-index: ${getAliasToken('DashboardTemplate', 'zIndexBase')}; + ` + ); }} `;