From d30b2d11e6f35233212713e379eee0958366ca43 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Thu, 11 Jun 2026 20:07:35 +0900 Subject: [PATCH] Email reader: all actions on the From row, wrap when narrow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found the culprit — the docked-modal CSS forced .email-reader-meta-row into a single-column grid, which collapsed the From row into a vertical stack and pushed the action buttons below it. Fix: - Merged the primary + secondary action rows into one flat .email-reader-actions-inline cluster inside the From row - Made the cluster flex-wrap so it stays inline when undocked and wraps below the chip when truly cramped (docked, narrow tab) - Excluded .email-reader-meta-from from the docked-modal and narrow-docpane grid-stack rules — those overrides now only apply to the To/Cc detail rows --- static/js/emailLibrary.js | 14 ++++++-------- static/style.css | 31 ++++++++++++++++++++----------- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/static/js/emailLibrary.js b/static/js/emailLibrary.js index 8d9758f5d..2c1f8d743 100644 --- a/static/js/emailLibrary.js +++ b/static/js/emailLibrary.js @@ -4911,17 +4911,15 @@ async function _openEmailWindow(em, folder) {
From: ${fromChip}${(data.to || data.cc) ? `` : ''} - - ${(data.to || data.cc) ? `