clamp multiple lines for long file names

This commit is contained in:
spencerwooo
2022-02-05 20:36:38 +08:00
parent 443d42b16c
commit b42036afb7
9 changed files with 65 additions and 40 deletions
+1 -1
View File
@@ -1,5 +1,6 @@
import type { OdFolderObject } from '../types'
import { useState } from 'react'
import Link from 'next/link'
import emojiRegex from 'emoji-regex'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
@@ -9,7 +10,6 @@ import { getFileIcon } from '../utils/getFileIcon'
import { getBaseUrl } from '../utils/getBaseUrl'
import { formatModifiedDateTime } from '../utils/fileDetails'
import { Checkbox, Downloading } from './FileListing'
import { useState } from 'react'
type OdFolderChildren = OdFolderObject['value'][number]