change value for cutFuleName function
This commit is contained in:
@@ -233,9 +233,9 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
|
|||||||
const viewport = useViewport();
|
const viewport = useViewport();
|
||||||
|
|
||||||
const getMaxLengthByWidth = (): number => {
|
const getMaxLengthByWidth = (): number => {
|
||||||
if (viewport.device === 'MOBILE') return 26;
|
if (viewport.device === 'MOBILE') return 22;
|
||||||
if (viewport.device === 'TABLET') return 32;
|
if (viewport.device === 'TABLET') return 30;
|
||||||
if (viewport.device === 'DESKTOP') return 64;
|
if (viewport.device === 'DESKTOP') return 50;
|
||||||
return 100;
|
return 100;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user