fix: refine mime type checks and improve MediaInfoModal layout

Updated tests to check for mime types using `toStartWith` for better validation. Adjusted mime type patterns in DropzoneInner for XML handling. Modified MediaInfoModal to enhance layout responsiveness and broaden text format support for previews, ensuring better file handling and user experience.
This commit is contained in:
dswbx
2025-09-29 16:07:40 +02:00
parent d31416f85d
commit d1ba638cd5
4 changed files with 7 additions and 7 deletions

View File

@@ -296,7 +296,7 @@ const Previews = [
Icon: TbFileTypeCsv,
},
{
mime: "text/xml",
mime: /(text|application)\/xml/,
Icon: TbFileTypeXml,
},
{