@bobfrankston/rmfmail 1.1.94 → 1.1.95

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.
package/client/app.js CHANGED
@@ -1000,7 +1000,10 @@ function showComposeOverlay(title = "Compose") {
1000
1000
  // CSS `resize:both` only gives a single lower-right grip. To allow
1001
1001
  // dragging any edge or corner, we omit it here and attach eight
1002
1002
  // manual handles via addComposeResizeHandles() below.
1003
- wrapper.style.cssText = "position:fixed;bottom:0;right:16px;width:min(900px,55vw);height:min(700px,70vh);z-index:1000;border-radius:8px 8px 0 0;box-shadow:0 -4px 24px rgba(0,0,0,0.3);display:flex;flex-direction:column;overflow:hidden;";
1003
+ // Open horizontally centred, near the top not docked to the
1004
+ // lower-right corner (Bob 2026-05-18). The title bar still drags it
1005
+ // anywhere; this is just the initial placement.
1006
+ wrapper.style.cssText = "position:fixed;top:48px;left:calc((100vw - min(900px,55vw)) / 2);width:min(900px,55vw);height:min(700px,70vh);z-index:1000;border-radius:8px;box-shadow:0 4px 24px rgba(0,0,0,0.3);display:flex;flex-direction:column;overflow:hidden;";
1004
1007
  }
1005
1008
  // Title bar — drag to move; right-side cluster holds discard, popout, close.
1006
1009
  const titleBar = document.createElement("div");