diff --git a/src/workspaces/officerdev/src/apps/FileBrowser/FileBrowserApp/components/VideoDownloadDialog.tsx b/src/workspaces/officerdev/src/apps/FileBrowser/FileBrowserApp/components/VideoDownloadDialog.tsx index 4b98e687..11741802 100644 --- a/src/workspaces/officerdev/src/apps/FileBrowser/FileBrowserApp/components/VideoDownloadDialog.tsx +++ b/src/workspaces/officerdev/src/apps/FileBrowser/FileBrowserApp/components/VideoDownloadDialog.tsx @@ -248,7 +248,19 @@ export const VideoDownloadDialog = ({ fileBrowserManager }: VideoDownloadDialogP )} -
+ {/* + `min-w-0` is the one that makes `truncate` work, three levels down. + + DialogContent is a GRID, and a grid item defaults to `min-width: auto` — it refuses to + shrink below its content. So a long title pushed this container wider than the dialog's + own `max-w-lg`, the card grew with it, and the `truncate` on the title never had a width + to truncate against. The text simply ran out of the modal. + + Making the card a column fixed a different half of this and was not enough: a column still + cannot be narrower than the widest thing a grid will let it be. The constraint has to come + from above, and this is the highest point where it was missing. + */} +
{entries.map((e, i) => (