@mhosaic/feedback 0.15.0 → 0.15.2
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,20 @@ 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
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
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
|
+
*
|
|
3980
|
+
* The base .modal rule uses the browser default content-box, so
|
|
3981
|
+
* without an override the 24px padding would be ADDED to the
|
|
3982
|
+
* calc(100vh - 48px) height \u2014 the rendered box would exactly equal
|
|
3983
|
+
* the viewport again, defeating the margin. Force border-box so
|
|
3984
|
+
* padding lives INSIDE the height we set. */
|
|
3985
|
+
box-sizing: border-box;
|
|
3986
|
+
width: min(1280px, calc(100vw - var(--mfb-space-7)));
|
|
3987
|
+
max-height: calc(100vh - var(--mfb-space-7));
|
|
3988
|
+
height: calc(100vh - var(--mfb-space-7));
|
|
3978
3989
|
padding: var(--mfb-space-5);
|
|
3979
3990
|
transition:
|
|
3980
3991
|
width 320ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
@@ -3988,6 +3999,10 @@ var WIDGET_STYLES = `
|
|
|
3988
3999
|
.backdrop.is-expanded { /* hook for any backdrop-level overrides */ }
|
|
3989
4000
|
|
|
3990
4001
|
@media (max-width: 640px) {
|
|
4002
|
+
/* On mobile the sheet still snaps to the bottom edge and stretches
|
|
4003
|
+
* almost the full viewport \u2014 24px gap from the top is enough to
|
|
4004
|
+
* convey "this is a panel, not a takeover", but we don't pull margin
|
|
4005
|
+
* off the sides where users expect the sheet to fill the viewport. */
|
|
3991
4006
|
.modal.is-expanded {
|
|
3992
4007
|
width: 100vw;
|
|
3993
4008
|
height: calc(100vh - var(--mfb-space-5));
|
|
@@ -4639,8 +4654,8 @@ function createFeedback(config) {
|
|
|
4639
4654
|
capture_method: captureMethod,
|
|
4640
4655
|
technical_context
|
|
4641
4656
|
};
|
|
4642
|
-
if ("0.15.
|
|
4643
|
-
payload.widget_version = "0.15.
|
|
4657
|
+
if ("0.15.2") {
|
|
4658
|
+
payload.widget_version = "0.15.2";
|
|
4644
4659
|
}
|
|
4645
4660
|
if (manualScreenshot) payload.screenshot = manualScreenshot;
|
|
4646
4661
|
if (values.synthetic) payload.synthetic = true;
|
|
@@ -4726,4 +4741,4 @@ function createFeedback(config) {
|
|
|
4726
4741
|
export {
|
|
4727
4742
|
createFeedback
|
|
4728
4743
|
};
|
|
4729
|
-
//# sourceMappingURL=chunk-
|
|
4744
|
+
//# sourceMappingURL=chunk-GZQQY24N.mjs.map
|