@bobfrankston/rmfmail 1.2.30 → 1.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2081,10 +2081,21 @@ async function createTinyMceEditor(container2, opts = {}) {
2081
2081
  // selection adjustment, Bob 2026-05-24). Plain bar is
2082
2082
  // browser-default and behaves correctly with arrow keys;
2083
2083
  // just darken the color so it stays visible.
2084
- "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #0a2647; }",
2084
+ // Explicit line-height (was implicit/skin-default). WebView2's
2085
+ // native spell-check red squiggle was rendering ABOVE the word
2086
+ // instead of under it (Bob 2026-06-17, on reply-attribution
2087
+ // lines). The marker is positioned from the line-box metrics, and
2088
+ // an undefined/oversized line-height plus per-line font-size
2089
+ // changes threw it off. A definite, tight line-height gives the
2090
+ // marker a stable baseline to sit under.
2091
+ "body { font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.3; caret-color: #0a2647; }",
2085
2092
  "blockquote { border-left: 3px solid #c0c8d0; margin: 0 0 0 4px; padding: 2px 0 2px 10px; color: #555; }",
2086
- "div.reply { margin-top: 0.5em; }",
2087
- "div.reply > p:first-child { color: #666; font-size: 0.95em; margin: 0 0 4px 0; }",
2093
+ // Drop the 0.5em margin-gap above the reply block and the per-line
2094
+ // font-size shrink on the attribution line both contributed to
2095
+ // the squiggle landing in the gap above the words. Keep it the
2096
+ // same size + line-height as body so the marker aligns.
2097
+ "div.reply { margin-top: 0; }",
2098
+ "div.reply > p:first-child { color: #666; line-height: 1.3; margin: 0 0 4px 0; }",
2088
2099
  "pre, code { font-family: ui-monospace, Consolas, Menlo, monospace; }"
2089
2100
  ].join(" "),
2090
2101
  init_instance_callback: (ed) => resolve(ed),