fix(ui): force diff modal to 90% width past sm:max-w-lg default

The DialogContent base class applies sm:max-w-lg which was overriding
the wider max-w setting. Use \!important to ensure the modal takes up
90% of viewport width.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta
2026-04-06 08:31:53 -05:00
parent 5d6217b70b
commit c1d0c52985
+1 -1
View File
@@ -72,7 +72,7 @@ export function DocumentDiffModal({
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-[90vw] w-full max-h-[85vh] overflow-hidden flex flex-col">
<DialogContent className="!max-w-[90%] w-full max-h-[85vh] overflow-hidden flex flex-col">
<div className="flex items-center justify-between gap-4">
<DialogHeader className="shrink-0">
<DialogTitle>