@ndla/preset-panda 0.0.37 → 0.0.38

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/dist/styles.css CHANGED
@@ -12,6 +12,10 @@
12
12
  font-feature-settings: 'ss03' on, 'liga' off, 'clig' off;
13
13
  }
14
14
 
15
+ html h1,html h2,html h3,html h4,html h5,html h6 {
16
+ text-wrap: unset;
17
+ }
18
+
15
19
  body {
16
20
  background: var(--colors-background-default);
17
21
  color: var(--colors-text-default);
package/es/globalCss.js CHANGED
@@ -16,7 +16,11 @@ export const globalCss = defineGlobalStyles({
16
16
  },
17
17
  html: {
18
18
  minHeight: "100%",
19
- fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off"
19
+ fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off",
20
+ // this is included in the css reset we use. We don't want it.
21
+ "& h1, h2, h3, h4, h5, h6": {
22
+ textWrap: "unset"
23
+ }
20
24
  },
21
25
  body: {
22
26
  background: "background.default",
package/lib/globalCss.js CHANGED
@@ -22,7 +22,11 @@ const globalCss = exports.globalCss = (0, _dev.defineGlobalStyles)({
22
22
  },
23
23
  html: {
24
24
  minHeight: "100%",
25
- fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off"
25
+ fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off",
26
+ // this is included in the css reset we use. We don't want it.
27
+ "& h1, h2, h3, h4, h5, h6": {
28
+ textWrap: "unset"
29
+ }
26
30
  },
27
31
  body: {
28
32
  background: "background.default",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/preset-panda",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "Panda preset for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "90fba8b86f3dcb8b52dfe9e5a6cc2722f55aa843"
40
+ "gitHead": "e29f1689ea7268f8a1eed1c99f179a3524c70758"
41
41
  }