diff --git a/hyperglass/ui/components/header/header.tsx b/hyperglass/ui/components/header/header.tsx
index 1971b2a..feea41d 100644
--- a/hyperglass/ui/components/header/header.tsx
+++ b/hyperglass/ui/components/header/header.tsx
@@ -1,5 +1,6 @@
import { useRef } from 'react';
import { Flex, ScaleFade } from '@chakra-ui/react';
+import { AnimatedDiv } from '~/components';
import { useColorValue, useBreakpointValue } from '~/context';
import { useBooleanValue, useLGState } from '~/hooks';
import { Title } from './title';
@@ -36,15 +37,17 @@ export const Header = (props: THeader) => {
color="gray.500"
{...rest}>
-
+ mx={{ base: isSubmitting.value ? 'auto' : 0, lg: 'auto' }}>
-
+
);
diff --git a/hyperglass/ui/components/header/title.tsx b/hyperglass/ui/components/header/title.tsx
index 52f4268..1091dbe 100644
--- a/hyperglass/ui/components/header/title.tsx
+++ b/hyperglass/ui/components/header/title.tsx
@@ -8,14 +8,24 @@ import { TitleOnly } from './titleOnly';
import { SubtitleOnly } from './subtitleOnly';
import type { StackProps } from '@chakra-ui/react';
-import type { TTitle, TTitleWrapper, TDWrapper } from './types';
+import type { TTitle, TTitleWrapper, TDWrapper, TMWrapper } from './types';
const AnimatedVStack = motion.custom(VStack);
/**
* Title wrapper for mobile devices, breakpoints sm & md.
*/
-const MWrapper = (props: StackProps) => ;
+const MWrapper = (props: TMWrapper) => {
+ const { isSubmitting } = useLGState();
+ return (
+
+ );
+};
/**
* Title wrapper for desktop devices, breakpoints lg & xl.
diff --git a/hyperglass/ui/components/header/types.ts b/hyperglass/ui/components/header/types.ts
index fb2b53c..afdcf4c 100644
--- a/hyperglass/ui/components/header/types.ts
+++ b/hyperglass/ui/components/header/types.ts
@@ -13,6 +13,8 @@ export type THeaderLayout = {
};
export type TDWrapper = Omit & MotionProps;
+export type TMWrapper = Omit & MotionProps;
+
export interface TTitle extends FlexProps {}
export interface TTitleOnly extends HeadingProps {}