@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/.commitmsg CHANGED
@@ -1,8 +1,5 @@
1
- Tabs: keep the strip visible with one tab so "+" is discoverable
1
+ Compose window opens centred near the top, not lower-right
2
2
 
3
- The view-tab strip was hidden until a 2nd tab existed — but with it
4
- hidden there was no hint that tabs exist or that Ctrl+T creates one
5
- (Bob: "there needs to be some indicator that ^t creates a tab"). The
6
- strip now stays visible with a single tab, showing that tab plus the
7
- "+" button; its tooltip names the Ctrl+T shortcut. Hidden only before
8
- the very first tab is seeded.
3
+ The floating compose/reply overlay was anchored to the bottom-right
4
+ corner. It now opens horizontally centred with a small top margin. The
5
+ title bar still drags it anywhere; this only changes initial placement.
@@ -7166,7 +7166,7 @@ function showComposeOverlay(title = "Compose") {
7166
7166
  if (isSmall) {
7167
7167
  wrapper.style.cssText = "position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#fff;";
7168
7168
  } else {
7169
- 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;";
7169
+ 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;";
7170
7170
  }
7171
7171
  const titleBar = document.createElement("div");
7172
7172
  titleBar.style.cssText = "display:flex;align-items:center;justify-content:space-between;padding:4px 8px;background:#e8ecf0;border-radius:8px 8px 0 0;cursor:move;user-select:none;flex-shrink:0;";