Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-typegen-fields-dialog-overflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@proofkit/typegen": patch
---

Fix overflow in metadata fields dialog where bottom settings form overlapped with data grid
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ export function FieldsDataGrid({ table, isLoading, isError, error, open }: Field
table={table}
tableLayout={{ width: "auto", headerSticky: true }}
>
<DataGridContainer border={true}>
<DataGridContainer border={true} className="h-full">
<div
className="overflow-auto"
ref={tableContainerRef}
style={{
contain: "strict",
height: "650px",
maxHeight: "650px",
height: "100%",
}}
>
<table className="w-full border-separate border-spacing-0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function MetadataFieldsDialog({ open, onOpenChange, tableName, configInde
Including {selectedFieldsCount} of {fieldsData.length} fields for {tableName || "Table"}
</DialogTitle>
</DialogHeader>
<DialogBody className="flex min-h-0 flex-1 flex-col overflow-x-auto overflow-y-auto">
<DialogBody className="flex min-h-0 flex-1 flex-col overflow-hidden">
<div className="mb-2 shrink-0 space-y-2">
<InputWrapper>
<Search className="size-4" />
Expand Down
Loading