Doc compose Cc toggle: nudge 4px down (top:50% → top:calc(50% + 4px))

This commit is contained in:
pewdiepie-archdaemon
2026-06-13 08:37:38 +09:00
parent 8604fcdd06
commit a5b05c07c2
+3 -3
View File
@@ -30104,10 +30104,10 @@ body.doc-find-active mark.doc-find-mark.current {
} }
} }
/* Cc toggle and attach button are absolute so they don't steal width /* Cc toggle and attach button are absolute so they don't steal width
from the To input. Anchored to the input's vertical center so it from the To input. Anchored to the input's vertical center + 4px
tracks the field height regardless of padding/border tweaks. */ nudge so the label sits where the user expects it. */
.email-field .email-cc-toggle { .email-field .email-cc-toggle {
position: absolute; right: 6px; top: 50%; transform: translateY(-50%); position: absolute; right: 6px; top: calc(50% + 4px); transform: translateY(-50%);
z-index: 2; z-index: 2;
} }
.email-field input { padding-right: 60px; } .email-field input { padding-right: 60px; }