Skip to content

Commit fcbea4b

Browse files
authoredApr 13, 2023
fix(core): add ellipsis textOverflow to type in file picker list (#4348)
1 parent 3cd83d4 commit fcbea4b

File tree

1 file changed

+5
-3
lines changed
  • packages/sanity/src/core/form/studio/assetSource

1 file changed

+5
-3
lines changed
 

‎packages/sanity/src/core/form/studio/assetSource/AssetRow.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,11 @@ export const AssetRow = (props: RowProps) => {
385385
</Text>
386386
</CustomFlex>
387387
<CustomFlex align="center">
388-
<TypeText size={1} muted>
389-
{formattedMimeType}
390-
</TypeText>
388+
<Box>
389+
<TypeText size={1} muted textOverflow="ellipsis">
390+
{formattedMimeType}
391+
</TypeText>
392+
</Box>
391393
</CustomFlex>
392394
<CustomFlex align="center">
393395
<Text as="time" size={1} muted dateTime={_createdAt}>

0 commit comments

Comments
 (0)
Failed to load comments.