@gpichot/spectacle-deck 1.2.5 → 1.2.7

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 +6 -2
  2. package/index.mjs +6 -2
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -111,8 +111,12 @@ function getCodeChildren(children) {
111
111
 
112
112
  // src/layouts/CenteredLayout.tsx
113
113
  var CenteredLayoutContent = import_styled_components.default.div`
114
+ h1,
114
115
  h2,
115
- h3 {
116
+ h3,
117
+ h4,
118
+ h5 {
119
+ flex: 0 1 auto;
116
120
  }
117
121
  `;
118
122
  var CenteredLayout = (props) => {
@@ -1217,7 +1221,7 @@ var componentsMap = {
1217
1221
  fontWeight: 500,
1218
1222
  fontFamily: 'Bitter,"Helvetica Neue",Helvetica,Arial,sans-serif',
1219
1223
  fontSize: 67,
1220
- flex: "0 1 65vw",
1224
+ flex: "0 1 100%",
1221
1225
  maxWidth: "65%",
1222
1226
  textAlign: "left"
1223
1227
  }
package/index.mjs CHANGED
@@ -60,8 +60,12 @@ function getCodeChildren(children) {
60
60
 
61
61
  // src/layouts/CenteredLayout.tsx
62
62
  var CenteredLayoutContent = styled.div`
63
+ h1,
63
64
  h2,
64
- h3 {
65
+ h3,
66
+ h4,
67
+ h5 {
68
+ flex: 0 1 auto;
65
69
  }
66
70
  `;
67
71
  var CenteredLayout = (props) => {
@@ -1170,7 +1174,7 @@ var componentsMap = {
1170
1174
  fontWeight: 500,
1171
1175
  fontFamily: 'Bitter,"Helvetica Neue",Helvetica,Arial,sans-serif',
1172
1176
  fontSize: 67,
1173
- flex: "0 1 65vw",
1177
+ flex: "0 1 100%",
1174
1178
  maxWidth: "65%",
1175
1179
  textAlign: "left"
1176
1180
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpichot/spectacle-deck",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",