From 114bc4e7cd5354e7ed858226c2247b667feeeda4 Mon Sep 17 00:00:00 2001 From: Daniel Onyejesi Date: Tue, 24 Mar 2026 11:52:02 -0400 Subject: [PATCH] Fix CMS button clickability, replace AI topic input with context box - Add type="button" to all CMS action buttons to prevent default submit - Change overflow:hidden to overflow:visible on .cms-main to prevent clipping - Add z-index to .cms-editor-actions for reliable click targeting - Replace AI "Topic" text input with a descriptive textarea context box so users can tell AI what to generate (AI creates its own title) - Rename AI tab from "By Topic" to "Describe Content" --- public/components/cms.html | 36 ++++++++++++++++++------------------ public/css/styles.css | 4 ++-- public/js/learningHub.js | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/public/components/cms.html b/public/components/cms.html index be4a985..61bc256 100644 --- a/public/components/cms.html +++ b/public/components/cms.html @@ -46,10 +46,10 @@
- - - - + + + +
- -
@@ -272,8 +272,8 @@
- - + +