Added scheduled end of shift message & cleaned up tv mode layout
This commit is contained in:
@@ -11,16 +11,24 @@ const Header = (headerProps: ComponentProps<'header'>) => {
|
||||
|
||||
if (tvMode)
|
||||
return (
|
||||
<div className='absolute top-16 right-20'>
|
||||
<Controls />
|
||||
</div>
|
||||
<header
|
||||
{...headerProps}
|
||||
className={cn(
|
||||
'w-full px-4 md:px-6 lg:px-20 my-8',
|
||||
headerProps?.className,
|
||||
)}
|
||||
>
|
||||
<div className='flex-1 flex justify-end mt-5'>
|
||||
<Controls />
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
return (
|
||||
<header
|
||||
{...headerProps}
|
||||
className={cn(
|
||||
'w-full min-h-[10vh] px-4 md:px-6 lg:px-20 my-8',
|
||||
'w-full px-4 md:px-6 lg:px-20 my-8',
|
||||
headerProps?.className,
|
||||
)}
|
||||
>
|
||||
|
Reference in New Issue
Block a user