stack-site-builder 1.25.1 → 1.25.2

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/CHANGELOG.md CHANGED
@@ -11,6 +11,18 @@ content schema, while a consuming site supplies only content, taxonomy data and
11
11
  config. Sites track the theme with `pnpm up stack-site-builder`, so each release
12
12
  here is a plain version bump they pull in.
13
13
 
14
+ ## [1.25.2] - 2026-08-31
15
+
16
+ ### Fixed
17
+
18
+ - **A display formula on a slide rendered at half the size of the text beside
19
+ it.** Inline math inherits the paragraph it sits in and so already scaled
20
+ with slide prose, but a display block is a direct child of
21
+ `.aas-slide-inner`, whose own font-size is the 1rem root rather than the
22
+ `clamp()` that slide paragraphs get — so a centred equation came out around
23
+ 17px next to 26px copy, reading as a footnote to the slide instead of the
24
+ point of it. It now takes the same scale as `p`.
25
+
14
26
  ## [1.25.1] - 2026-08-31
15
27
 
16
28
  ### Fixed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stack-site-builder",
3
3
  "type": "module",
4
- "version": "1.25.1",
4
+ "version": "1.25.2",
5
5
  "license": "MIT",
6
6
  "description": "The engine behind the awesome-*-stack catalog sites: an Astro theme with the catalog/concepts/articles/slides/samples routes, components, styles and markdown pipeline. Sites provide content, taxonomy data and config.",
7
7
  "repository": {
@@ -889,6 +889,14 @@ summary {
889
889
  .aas-slide-inner .katex {
890
890
  font-size: 1.1em;
891
891
  }
892
+ /* Inline math inherits the paragraph it sits in and so scales with it, but a
893
+ display block is a direct child of `.aas-slide-inner`, whose own font-size is
894
+ the 1rem root — not the clamp() that slide prose gets. Left alone a centred
895
+ formula renders at ~17px beside 26px text, reading as a footnote to the
896
+ slide rather than the point of it. Hand it the same scale as `p`. */
897
+ .aas-slide-inner .katex-display {
898
+ font-size: clamp(1.2rem, 2vw, 1.65rem);
899
+ }
892
900
  /* KaTeX's fonts carry no Hangul, kana or Han glyphs, so for `\text{처리량}` it
893
901
  tags the run with `.hangul_fallback` (or `.cjk_fallback` / `.brahmic_fallback`)
894
902
  and ships NO rule for them — the font is left to the site on purpose. Without