Fix dialog positioning main (#117)

* Fix mobileFullscreen dialog positioning on desktop

* Refactor dialogs with consistent footer layout and z-index stacking
This commit is contained in:
Chris Scott authored and GitHub committed 2026-02-08 12:30:19 -05:00
1 parent 20af85ea9f
commit bfe7954825
7 files changed
+494 -503

No files matched your search

@@ -70,7 +70,7 @@ export function OpenCodeConfigEditor({
return (
<Dialog open={isOpen} onOpenChange={(open) => !open && onClose()}>
<DialogContent mobileFullscreen className="gap-0 flex flex-col p-0 md:p-6 w-full min-w-0 sm:max-w-4xl z-[200]" overlayClassName="z-[200]">
<DialogContent mobileFullscreen className="gap-0 flex flex-col p-0 md:p-6 w-full min-w-0 sm:max-w-4xl max-h-[90vh] sm:max-h-[85vh] z-[200]" overlayClassName="z-[200]">
<DialogHeader className="p-4 sm:p-6 border-b flex flex-row items-center justify-between space-y-0">
<DialogTitle className="text-lg sm:text-xl font-semibold">
{`Edit Config: ${config.name}`}