@hyperbook/markdown 0.48.4 → 0.48.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.
@@ -39,7 +39,6 @@ span>code {
39
39
 
40
40
  code {
41
41
  font-family: hyperbook-code, monospace;
42
- line-height: 2rem;
43
42
  }
44
43
 
45
44
  pre code [data-line] {
@@ -199,4 +198,4 @@ code-input.line-numbers textarea, code-input.line-numbers.code-input_pre-element
199
198
  /* Ensure pre code/textarea just wide enough to give 100% width with line numbers */
200
199
  code-input.line-numbers, .line-numbers code-input {
201
200
  grid-template-columns: calc(100% - max(0em, calc(3.8em - var(--padding, 16px))));
202
- }
201
+ }
@@ -934,16 +934,16 @@ var multievent = {
934
934
  s.width = "1.2em";
935
935
  }
936
936
  if (IB == 2) {
937
- s.width = "1.8em";
937
+ s.width = "2.4em";
938
938
  }
939
939
  if (IB == 3) {
940
- s.width = "2.3em";
940
+ s.width = "3.6em";
941
941
  }
942
942
  if (IB == 4) {
943
- s.width = "3.2em";
943
+ s.width = "4.8em";
944
944
  }
945
945
  if (IB > 4) {
946
- s.width = IB * 0.75 + "em";
946
+ s.width = IB * 1.2 + "em";
947
947
  }
948
948
  }
949
949
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbook/markdown",
3
- "version": "0.48.4",
3
+ "version": "0.48.6",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",