forked from farhoodlabs/paperclip
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user