Commit 49bee95b by Jiangween Committed by GitHub

Optimize InputDataModal and useEditTitle in main project (#3086)

parent 0645b274
......@@ -260,9 +260,12 @@ const InputDataModal = ({
className={'textEllipsis'}
wordBreak={'break-all'}
fontSize={'md'}
maxW={['200px', '80vw']}
maxW={['200px', '50vw']}
fontWeight={'500'}
color={'myGray.900'}
whiteSpace={'nowrap'}
overflow={'hidden'}
textOverflow={'ellipsis'}
>
{collection.sourceName || t('common:common.UnKnow Source')}
</Box>
......
......@@ -76,7 +76,7 @@ export const useEditTitle = ({
// eslint-disable-next-line react/display-name
const EditModal = useCallback(
({
maxLength = 30,
maxLength = 50,
iconSrc = 'modal/edit',
closeBtnText = t('common:common.Close')
}: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment