From bd1841b7881fa19727d25a258a9d4dcbea93fa65 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 4 May 2025 15:44:43 -0400 Subject: [PATCH] Unify modals: shared close button, truncate long filenames, fix sizing & overflow --- CHANGELOG.md | 15 +++++++++++++++ public/index.html | 2 +- public/js/authModals.js | 24 ++++++++++++------------ public/js/fileTags.js | 19 ++++++++++++++----- 4 files changed, 42 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c80a3..9f49951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## Changes 5/4/2025 + +### Modals + +- **Added** a shared `.editor-close-btn` component for all modals: + - File Tags + - User Panel + - TOTP Login & Setup + - Change Password +- **Truncated** long filenames in the File Tags modal header using CSS `text-overflow: ellipsis`. +- **Resized** File Tags modal from 400px → 450px wide (with `max-width: 90vw` fallback). +- **Capped** User Panel height at 381px and hidden scrollbars to eliminate layout jumps on hover. + +--- + ## Changes 5/3/2025 v1.3.0 **Admin Panel Refactor & Enhancements** diff --git a/public/index.html b/public/index.html index 751d374..2b11cd3 100644 --- a/public/index.html +++ b/public/index.html @@ -428,7 +428,7 @@