Fix history title
This commit is contained in:
@ -106,7 +106,7 @@ export const HistoryDrawer: React.FC<HistoryDrawerProps> = ({
|
|||||||
className='w-8 h-8 md:w-12 md:h-12'
|
className='w-8 h-8 md:w-12 md:h-12'
|
||||||
/>
|
/>
|
||||||
<h1 className='text-lg md:text-2xl lg:text-4xl font-bold pl-2 md:pl-4'>
|
<h1 className='text-lg md:text-2xl lg:text-4xl font-bold pl-2 md:pl-4'>
|
||||||
{user && user.id !== '' ? 'User History' : 'All History'}
|
{user && user.id !== '' ? `${user.full_name}'s History` : 'All History'}
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
{totalCount > 0 && (
|
{totalCount > 0 && (
|
||||||
|
@ -139,9 +139,9 @@ export const TechTable = ({ initialStatuses = [] }: TableProps) => {
|
|||||||
});
|
});
|
||||||
const thClassName = makeConditionalClassName({
|
const thClassName = makeConditionalClassName({
|
||||||
context: tvMode,
|
context: tvMode,
|
||||||
defaultClassName: 'py-4 px-4 border font-semibold xl:min-w-[420px]',
|
defaultClassName: 'py-4 px-4 border font-semibold ',
|
||||||
on: 'lg:text-6xl',
|
on: 'lg:text-6xl xl:min-w-[420px]',
|
||||||
off: 'lg:text-5xl',
|
off: 'lg:text-5xl xl:min-w-[300px]',
|
||||||
});
|
});
|
||||||
const tdClassName = makeConditionalClassName({
|
const tdClassName = makeConditionalClassName({
|
||||||
context: tvMode,
|
context: tvMode,
|
||||||
|
Reference in New Issue
Block a user