From 0889eb4e01e3dd8f974d5fd74e28ab433f572466 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Sat, 13 Jun 2026 09:35:21 +0900 Subject: [PATCH] Doc compose: accent prefix labels for each field + Cc btn up 2px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Each input now has a sibling .email-field-prefix span (To / Cc / Bcc / Subject) absolute-positioned at the left edge in the accent color. Inputs get padding-left:44px (64px for Subject) so typed text doesn't slide under the prefix. - Placeholders shrink back to just the example so only the prefix gets the accent color, not the example text. - Cc toggle moved another 2px up (calc(50% + 4px) → calc(50% + 2px)). --- static/js/document.js | 11 +++++++---- static/style.css | 21 ++++++++++++++++----- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/static/js/document.js b/static/js/document.js index e54d49213..2919f17ad 100644 --- a/static/js/document.js +++ b/static/js/document.js @@ -3851,21 +3851,24 @@ import * as Modals from './modalManager.js';
- +
diff --git a/static/style.css b/static/style.css index 357d1aa4e..4ce801e54 100644 --- a/static/style.css +++ b/static/style.css @@ -30107,15 +30107,26 @@ body.doc-find-active mark.doc-find-mark.current { from the To input. Anchored to the input's vertical center + 4px nudge so the label sits where the user expects it. */ .email-field .email-cc-toggle { - position: absolute; right: 6px; top: calc(50% + 4px); transform: translateY(-50%); + position: absolute; right: 6px; top: calc(50% + 2px); transform: translateY(-50%); z-index: 2; } -/* Tint the placeholder hint (To / Cc / Bcc + example) accent so - the field names read as a label even without the