@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.
- package/package.json +1 -1
- package/src/Posts.astro +16 -2
package/package.json
CHANGED
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) {
|
|
158
|
-
|
|
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
|