@gpichot/spectacle-deck 1.2.4 → 1.2.6

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 -2
  2. package/index.mjs +2 -2
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1153,7 +1153,7 @@ function QRCode({ url, size = "md" }) {
1153
1153
  padding: "1rem 1rem 0.6rem 1rem",
1154
1154
  borderRadius: "1rem",
1155
1155
  backgroundColor,
1156
- maxWidth: `calc(${width}px + 2rem)`
1156
+ maxWidth: width
1157
1157
  }
1158
1158
  }
1159
1159
  );
@@ -1217,7 +1217,7 @@ var componentsMap = {
1217
1217
  fontWeight: 500,
1218
1218
  fontFamily: 'Bitter,"Helvetica Neue",Helvetica,Arial,sans-serif',
1219
1219
  fontSize: 67,
1220
- flex: "0 1 65vw",
1220
+ flex: "0 1 100%",
1221
1221
  maxWidth: "65%",
1222
1222
  textAlign: "left"
1223
1223
  }
package/index.mjs CHANGED
@@ -1106,7 +1106,7 @@ function QRCode({ url, size = "md" }) {
1106
1106
  padding: "1rem 1rem 0.6rem 1rem",
1107
1107
  borderRadius: "1rem",
1108
1108
  backgroundColor,
1109
- maxWidth: `calc(${width}px + 2rem)`
1109
+ maxWidth: width
1110
1110
  }
1111
1111
  }
1112
1112
  );
@@ -1170,7 +1170,7 @@ var componentsMap = {
1170
1170
  fontWeight: 500,
1171
1171
  fontFamily: 'Bitter,"Helvetica Neue",Helvetica,Arial,sans-serif',
1172
1172
  fontSize: 67,
1173
- flex: "0 1 65vw",
1173
+ flex: "0 1 100%",
1174
1174
  maxWidth: "65%",
1175
1175
  textAlign: "left"
1176
1176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpichot/spectacle-deck",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",