@bagelink/vue 1.20.70 → 1.20.72

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.20.70",
4
+ "version": "1.20.72",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -63,7 +63,7 @@
63
63
  "@types/signature_pad": "^4.0.0",
64
64
  "vue": "^3.5.43",
65
65
  "vue-component-type-helpers": "^2.2.12",
66
- "@bagelink/sdk": "1.20.70"
66
+ "@bagelink/sdk": "1.20.72"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@bagelink/sdk": "*",
@@ -143,10 +143,14 @@ function pageSheetCss(reset = false): string {
143
143
  box-shadow: 0 1px 5px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
144
144
  }
145
145
  @media (max-width: 760px) {
146
+ html { background: var(--bgl-gray-20, #e6e6e6); }
146
147
  body {
148
+ /* Stay inset on every side so the gray canvas frames the sheet. */
149
+ width: auto;
147
150
  max-width: none;
148
- margin: 0.5rem auto;
149
- padding: 1.5rem 1rem 2.5rem;
151
+ margin: 0.75rem;
152
+ padding: 1.5rem 1.25rem 2.5rem;
153
+ min-height: calc(100vh - 1.5rem);
150
154
  }
151
155
  }
152
156
  `
@@ -4617,16 +4621,25 @@ min-height: 0;
4617
4621
  overflow-y: auto;
4618
4622
  }
4619
4623
 
4620
- /* Page mode: the iframe shows a white sheet on a muted canvas, so the
4621
- surface behind it must be the same canvas — otherwise a white frame
4622
- shows around the gray. */
4624
+ /* Page mode: the iframe paints its own canvas, so the surface behind it
4625
+ must not add a second background. */
4623
4626
  .rich-text-page {
4624
4627
  background: transparent !important;
4625
4628
  border-color: transparent;
4626
4629
  }
4627
4630
 
4628
4631
  .rich-text-page .content-area {
4629
- background: transparent;
4632
+ background: transparent;
4633
+ }
4634
+
4635
+ /* On mobile the sheet inside the iframe is inset, so the canvas has to
4636
+ continue behind it or the gap reads as white. Desktop is unchanged. */
4637
+ @media (max-width: 760px) {
4638
+ .rich-text-page,
4639
+ .rich-text-page .content-area,
4640
+ .rich-text-page .editableContent {
4641
+ background: var(--bgl-gray-20);
4642
+ }
4630
4643
  }
4631
4644
 
4632
4645
  .fullscreen-mode {