stack-site-builder 1.25.4 → 1.25.5
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 +15 -0
- package/package.json +1 -1
- package/src/styles/global.css +18 -13
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,20 @@ 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.5] - 2026-09-02
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **A slide's last line could be sliced off at the bottom of the PDF page.**
|
|
19
|
+
1.25.4 sized the print page so *width*-relative proportions match a large
|
|
20
|
+
desktop window, but the vertical axis has the same failure mode: rem-capped
|
|
21
|
+
text keeps its screen size while viewport-height media (a screenshot capped
|
|
22
|
+
at `58vh`, say) shrinks with the page, so on a 972px-tall page their sum
|
|
23
|
+
could exceed the slide and the caption under an image lost its last line.
|
|
24
|
+
The page is now 24in × 13.5in (2304 × 1296 CSS px) — still 16:9, but taller
|
|
25
|
+
than the viewports decks are authored in, so every slide gets at least the
|
|
26
|
+
vertical room it had on screen.
|
|
27
|
+
|
|
14
28
|
## [1.25.4] - 2026-09-02
|
|
15
29
|
|
|
16
30
|
Print/PDF export of a deck now reproduces what the screen shows: images load
|
|
@@ -638,6 +652,7 @@ catalog sites from a thin content-only repository.
|
|
|
638
652
|
- **Standalone development setup** — a devcontainer and a minimal `playground/`
|
|
639
653
|
consuming site for developing and previewing the theme on its own.
|
|
640
654
|
|
|
655
|
+
[1.25.5]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.4...v1.25.5
|
|
641
656
|
[1.25.4]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.3...v1.25.4
|
|
642
657
|
[1.25.3]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.2...v1.25.3
|
|
643
658
|
[1.25.2]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.1...v1.25.2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stack-site-builder",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.25.
|
|
4
|
+
"version": "1.25.5",
|
|
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": {
|
package/src/styles/global.css
CHANGED
|
@@ -2350,18 +2350,23 @@ summary {
|
|
|
2350
2350
|
a stray extra page, and wide enough that image splits never stack. Enable
|
|
2351
2351
|
"Background graphics" in the print dialog for themed/image backgrounds. */
|
|
2352
2352
|
@media print {
|
|
2353
|
-
/* A 16:9 page, sized
|
|
2354
|
-
PowerPoint 13.333in: rem-based type (
|
|
2355
|
-
shrink with the page, so on a smaller page it eats
|
|
2356
|
-
|
|
2357
|
-
that fit on screen came out
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2353
|
+
/* A 16:9 page, sized 24in × 13.5in (2304 × 1296 CSS px) rather than the
|
|
2354
|
+
PowerPoint 13.333in: rem-based type (titles, captions, code — every
|
|
2355
|
+
clamp() cap) does not shrink with the page, so on a smaller page it eats
|
|
2356
|
+
proportionally more room than on the desktop windows slides are authored
|
|
2357
|
+
against. Both axes matter. Width: code that fit on screen came out
|
|
2358
|
+
clipped at the PDF's right edge until the content column could reach the
|
|
2359
|
+
same 96rem cap it has on screen. Height: viewport-height media (a
|
|
2360
|
+
screenshot capped at 58vh, say) shrinks with the page while the fixed
|
|
2361
|
+
text around it does not, so their sum overflowed a shorter page and the
|
|
2362
|
+
caption's last line was sliced off. At 1296px the page is taller than
|
|
2363
|
+
the ~1200px viewports decks are authored in, giving every slide at least
|
|
2364
|
+
the vertical room it had on screen. Everything saturates at its rem cap —
|
|
2365
|
+
the same state as a large 16:9 monitor — so the PDF reproduces what the
|
|
2366
|
+
author saw. PDF pages are vector; the physical inches are irrelevant on
|
|
2367
|
+
screen and shrink-to-fit when printed on paper. */
|
|
2363
2368
|
@page {
|
|
2364
|
-
size:
|
|
2369
|
+
size: 24in 13.5in;
|
|
2365
2370
|
margin: 0;
|
|
2366
2371
|
}
|
|
2367
2372
|
.aas-deck-body {
|
|
@@ -2388,8 +2393,8 @@ summary {
|
|
|
2388
2393
|
scroll-snap-type: none;
|
|
2389
2394
|
}
|
|
2390
2395
|
.aas-slide {
|
|
2391
|
-
width:
|
|
2392
|
-
height:
|
|
2396
|
+
width: 24in;
|
|
2397
|
+
height: 13.5in;
|
|
2393
2398
|
overflow: hidden;
|
|
2394
2399
|
scroll-snap-align: none;
|
|
2395
2400
|
break-inside: avoid;
|