@mhosaic/feedback 0.15.0 → 0.15.1

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.
@@ -3972,9 +3972,16 @@ var WIDGET_STYLES = `
3972
3972
  * Width/height/max-* are animated together; padding too, since the
3973
3973
  * board's denser layout needs less of the modal's default padding. */
3974
3974
  .modal.is-expanded {
3975
- width: min(1280px, calc(100vw - var(--mfb-space-5)));
3976
- max-height: calc(100vh - var(--mfb-space-5));
3977
- height: calc(100vh - var(--mfb-space-5));
3975
+ /* Margin around the expanded board view. --mfb-space-7 (48px) matches
3976
+ * the breathing room of the default modal \u2014 24px top + 24px bottom +
3977
+ * 24px on each side \u2014 so the panel reads as "near-fullscreen with a
3978
+ * visible frame" instead of "the whole viewport, content cut off".
3979
+ * Was --mfb-space-5 (24px total = 12px each side), which felt
3980
+ * claustrophobic and tricked users into expecting more vertical
3981
+ * scroll under the viewport edge. */
3982
+ width: min(1280px, calc(100vw - var(--mfb-space-7)));
3983
+ max-height: calc(100vh - var(--mfb-space-7));
3984
+ height: calc(100vh - var(--mfb-space-7));
3978
3985
  padding: var(--mfb-space-5);
3979
3986
  transition:
3980
3987
  width 320ms cubic-bezier(0.22, 1, 0.36, 1),
@@ -3988,6 +3995,10 @@ var WIDGET_STYLES = `
3988
3995
  .backdrop.is-expanded { /* hook for any backdrop-level overrides */ }
3989
3996
 
3990
3997
  @media (max-width: 640px) {
3998
+ /* On mobile the sheet still snaps to the bottom edge and stretches
3999
+ * almost the full viewport \u2014 24px gap from the top is enough to
4000
+ * convey "this is a panel, not a takeover", but we don't pull margin
4001
+ * off the sides where users expect the sheet to fill the viewport. */
3991
4002
  .modal.is-expanded {
3992
4003
  width: 100vw;
3993
4004
  height: calc(100vh - var(--mfb-space-5));
@@ -4639,8 +4650,8 @@ function createFeedback(config) {
4639
4650
  capture_method: captureMethod,
4640
4651
  technical_context
4641
4652
  };
4642
- if ("0.15.0") {
4643
- payload.widget_version = "0.15.0";
4653
+ if ("0.15.1") {
4654
+ payload.widget_version = "0.15.1";
4644
4655
  }
4645
4656
  if (manualScreenshot) payload.screenshot = manualScreenshot;
4646
4657
  if (values.synthetic) payload.synthetic = true;
@@ -4726,4 +4737,4 @@ function createFeedback(config) {
4726
4737
  export {
4727
4738
  createFeedback
4728
4739
  };
4729
- //# sourceMappingURL=chunk-67JM6XVT.mjs.map
4740
+ //# sourceMappingURL=chunk-3YLD2AJI.mjs.map