@gpichot/spectacle-deck 1.2.2 → 1.2.4

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.
Files changed (3) hide show
  1. package/index.cjs +2 -1
  2. package/index.mjs +2 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1152,7 +1152,8 @@ function QRCode({ url, size = "md" }) {
1152
1152
  style: {
1153
1153
  padding: "1rem 1rem 0.6rem 1rem",
1154
1154
  borderRadius: "1rem",
1155
- backgroundColor
1155
+ backgroundColor,
1156
+ maxWidth: `calc(${width}px + 2rem)`
1156
1157
  }
1157
1158
  }
1158
1159
  );
package/index.mjs CHANGED
@@ -1105,7 +1105,8 @@ function QRCode({ url, size = "md" }) {
1105
1105
  style: {
1106
1106
  padding: "1rem 1rem 0.6rem 1rem",
1107
1107
  borderRadius: "1rem",
1108
- backgroundColor
1108
+ backgroundColor,
1109
+ maxWidth: `calc(${width}px + 2rem)`
1109
1110
  }
1110
1111
  }
1111
1112
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpichot/spectacle-deck",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",