@mhosaic/feedback 0.15.1 → 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.
|
@@ -3976,9 +3976,13 @@ var WIDGET_STYLES = `
|
|
|
3976
3976
|
* the breathing room of the default modal \u2014 24px top + 24px bottom +
|
|
3977
3977
|
* 24px on each side \u2014 so the panel reads as "near-fullscreen with a
|
|
3978
3978
|
* visible frame" instead of "the whole viewport, content cut off".
|
|
3979
|
-
*
|
|
3980
|
-
*
|
|
3981
|
-
*
|
|
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;
|
|
3982
3986
|
width: min(1280px, calc(100vw - var(--mfb-space-7)));
|
|
3983
3987
|
max-height: calc(100vh - var(--mfb-space-7));
|
|
3984
3988
|
height: calc(100vh - var(--mfb-space-7));
|
|
@@ -4650,8 +4654,8 @@ function createFeedback(config) {
|
|
|
4650
4654
|
capture_method: captureMethod,
|
|
4651
4655
|
technical_context
|
|
4652
4656
|
};
|
|
4653
|
-
if ("0.15.
|
|
4654
|
-
payload.widget_version = "0.15.
|
|
4657
|
+
if ("0.15.2") {
|
|
4658
|
+
payload.widget_version = "0.15.2";
|
|
4655
4659
|
}
|
|
4656
4660
|
if (manualScreenshot) payload.screenshot = manualScreenshot;
|
|
4657
4661
|
if (values.synthetic) payload.synthetic = true;
|
|
@@ -4737,4 +4741,4 @@ function createFeedback(config) {
|
|
|
4737
4741
|
export {
|
|
4738
4742
|
createFeedback
|
|
4739
4743
|
};
|
|
4740
|
-
//# sourceMappingURL=chunk-
|
|
4744
|
+
//# sourceMappingURL=chunk-GZQQY24N.mjs.map
|