diff --git a/.changeset/fix-taxonomy-dialog-scroll.md b/.changeset/fix-taxonomy-dialog-scroll.md new file mode 100644 index 000000000..ad1275ecf --- /dev/null +++ b/.changeset/fix-taxonomy-dialog-scroll.md @@ -0,0 +1,10 @@ +--- +"@emdash-cms/admin": patch +--- + +Fix taxonomy term edit dialog overflow with many locales (#1269) + +Adds `max-h-[85vh] flex flex-col` to the `TermFormDialog` and makes its body +scrollable with `flex-1 overflow-y-auto`, keeping the header and footer pinned. +This prevents the Cancel/Update buttons from falling off-screen when the +Translations panel lists a large number of locales. diff --git a/packages/admin/src/components/TaxonomyManager.tsx b/packages/admin/src/components/TaxonomyManager.tsx index 0dacaefa2..7c9e6e7f8 100644 --- a/packages/admin/src/components/TaxonomyManager.tsx +++ b/packages/admin/src/components/TaxonomyManager.tsx @@ -352,8 +352,8 @@ function TermFormDialog({ } }} > - -
+ +
@@ -384,7 +384,7 @@ function TermFormDialog({ />
-
+