@ammduncan/easel 0.2.22 → 0.2.23
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 +5 -0
- package/dist/client/viewer.js +9 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to easel. This project adheres to [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.2.23 — 2026-05-23
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **`.full-bleed` now caps at 1440px and centres.** On a wide monitor the card itself can be ~2000px, and a full-bleed mockup was stretching to fill all of it — but a real desktop screen tops out around 1440px, so the mockup looked unnaturally wide. `.full-bleed` is now `width: min(100vw, 1440px)` (still centred via `left:50%` + `translateX(-50%)`): it fills the card up to 1440 then centres with gutters. On cards narrower than 1440 it still fills edge-to-edge. Browser-verified at a 1949px viewport (1542px card → mockup capped at 1440, centred).
|
|
9
|
+
|
|
5
10
|
## 0.2.22 — 2026-05-23
|
|
6
11
|
|
|
7
12
|
### Changed
|
package/dist/client/viewer.js
CHANGED
|
@@ -718,12 +718,16 @@ body > .wrap > h1, body > .wrap > h2, body > .wrap > h3, body > .wrap > h4 {
|
|
|
718
718
|
body > *:first-child { margin-top: 0 !important; }
|
|
719
719
|
body > *:last-child { margin-bottom: 0 !important; }
|
|
720
720
|
/* Full-bleed escape hatch for embedded mockups mid-presentation. Wrap a
|
|
721
|
-
section in <div class="full-bleed"> and it
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
721
|
+
section in <div class="full-bleed"> and it breaks out of the body padding +
|
|
722
|
+
prose max-width to span the card, while the prose around it stays in the
|
|
723
|
+
reading column. Inside the iframe, 100vw === the card's width; left:50% +
|
|
724
|
+
translateX(-50%) re-centres on the card.
|
|
725
|
+
Capped at 1440px: on a wide monitor the card itself can be ~2000px, but a
|
|
726
|
+
real desktop screen tops out around 1440 — letting a mockup stretch past
|
|
727
|
+
that looks unnaturally wide. So full-bleed fills the card up to 1440 and
|
|
728
|
+
then centres, rather than growing without limit. */
|
|
725
729
|
.full-bleed {
|
|
726
|
-
width: 100vw;
|
|
730
|
+
width: min(100vw, 1440px);
|
|
727
731
|
position: relative;
|
|
728
732
|
left: 50%;
|
|
729
733
|
transform: translateX(-50%);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ammduncan/easel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"description": "A live browser tab for every Claude Code (and MCP) session. The push MCP tool appends HTML cards to a scrolling feed you keep open in split-screen.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|