From 5b457d035d5717669cd821dd7bd90ecaaa5c7b0c Mon Sep 17 00:00:00 2001 From: "emdashbot[bot]" Date: Wed, 3 Jun 2026 09:53:00 +0000 Subject: [PATCH] fix(admin/taxonomies): make term edit dialog scrollable with many locales (#1269) --- .changeset/fix-taxonomy-dialog-scroll.md | 10 ++++++++++ packages/admin/src/components/TaxonomyManager.tsx | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .changeset/fix-taxonomy-dialog-scroll.md 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({ />
-
+