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 81a9a1fed3
commit 0d27480719
+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
from the To input. Anchored to the input's vertical center so it
tracks the field height regardless of padding/border tweaks. */
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: 50%; transform: translateY(-50%);
position: absolute; right: 6px; top: calc(50% + 4px); transform: translateY(-50%);
z-index: 2;
}
.email-field input { padding-right: 60px; }