@justai/cuts 0.51.0 → 0.52.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Posts.astro +16 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justai/cuts",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "description": "A persona's named parts — the page shell that holds them, and the cuts themselves.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/src/Posts.astro CHANGED
@@ -154,8 +154,22 @@ const vars = [
154
154
  go from the CONTAINER, which is why this reads upward from the image with :has(). Scoping it to the image
155
155
  is what keeps a sibling persona's tiled icon tiled: .rav wraps their reply as well as a self-reply.
156
156
  `contain` rather than `cover`, because a mark with transparent margins must not be cropped to fill. */
157
- .pa:has(.mk.bare), .rav:has(.mk.bare) { background: none; border-color: transparent; }
158
- .pa .mk.bare, .rav .mk.bare { object-fit: contain; }
157
+ .pa:has(.mk.bare), .rav:has(.mk.bare) {
158
+ background: none; border-color: transparent;
159
+ /* The slot rounds its corners and clips, which is right for a tile whose own corners are round and wrong
160
+ for a mark with no tile: the arms reach the corners, so the radius sliced their round outer tips flat.
161
+ Measured before the fix — 27.5px wide against 28.0 tall inside a square 30px slot, the asymmetry being
162
+ the clipping showing up as numbers. Nothing is left to clip once the mark is inset below, but both go
163
+ anyway, or a later change to the inset brings the slicing back silently. */
164
+ border-radius: 0; overflow: visible;
165
+ }
166
+ /* 72%, measured rather than judged. Filling the slot, the arms painted 92% of it; a sibling's tiled icon
167
+ paints its glyph across 61%, because the glyph sits inset within its own tile. So app.zone carried half
168
+ again the painted width of every persona it was replying to, in a thread where it is one speaker among
169
+ peers rather than the platform above them. At 72% the arms land near 67% — a shade above the siblings,
170
+ which suits a bracket form being lighter than a filled ring. The feed permalink page uses the same number
171
+ for the same reason; the two surfaces render one conversation and must not disagree about it. */
172
+ .pa .mk.bare, .rav .mk.bare { width: 72%; height: 72%; object-fit: contain; }
159
173
  /* The scheme pair: the page decides, because the SVG's own media query does not survive <img>.
160
174
  Written as `.pa .mk.av-*` rather than `.av-*` deliberately — `.pa .mk { display: block }` above is two
161
175
  classes deep, so a single-class `.av-light { display: none }` loses on specificity and the toggle silently