@allons-y/course-kit 0.4.2 → 0.4.3

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.
@@ -1625,6 +1625,7 @@ blockquote {
1625
1625
  selecting or copying never takes them. */
1626
1626
  .code-block {
1627
1627
  --code-edge: var(--color-code-edge-neutral);
1628
+ --code-line-height: 1;
1628
1629
 
1629
1630
  position: relative;
1630
1631
  margin-block: 0 1rem;
@@ -1693,6 +1694,11 @@ blockquote {
1693
1694
  @media print { display: none; }
1694
1695
  }
1695
1696
 
1697
+ pre,
1698
+ code {
1699
+ line-height: var(--code-line-height);
1700
+ }
1701
+
1696
1702
  pre {
1697
1703
  margin: 0;
1698
1704
  border: 0;
@@ -2209,6 +2215,7 @@ legend.switch-label {
2209
2215
  pre[class*="language-"],
2210
2216
  code[class*="language-"] {
2211
2217
  color: var(--color-code-text);
2218
+ line-height: var(--code-line-height, 1);
2212
2219
  text-shadow: none;
2213
2220
  }
2214
2221
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allons-y/course-kit",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Shared layouts, components, styles and build helpers for Eleventy course sites.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "Cassondra Roberts <castastrophe@users.noreply.github.com> (https://allons-y.studio)",