@signal9/era-ui 4.16.2 → 4.16.4

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.
@@ -215,9 +215,15 @@
215
215
  * geometrically-equal corner read top-tight. The first block gets that same
216
216
  * allowance back as margin, in em so a heading's compensation scales with
217
217
  * the heading — the corner then MEASURES slightly uneven and finally LOOKS
218
- * even, which is the order optics always wins in. */
218
+ * even, which is the order optics always wins in.
219
+ *
220
+ * 0.22em, not the ~0.07em side-bearing alone: a first line is usually a
221
+ * heavy cap or a heading, and dense ink right at a boundary needs more
222
+ * room than a light vertical stem to feel equally far from it — the same
223
+ * reason display type sets its top margin above geometric equality. Tuned
224
+ * by eye against the left inset. */
219
225
  .era-notes-prose :global(.tiptap > :first-child) {
220
- margin-top: 0.07em;
226
+ margin-top: 0.22em;
221
227
  }
222
228
 
223
229
  /* FALLBACK for engines without text-box (Firefox): the trim above silently
@@ -236,9 +242,9 @@
236
242
  * this block and keep the exact version. */
237
243
  @supports not ((text-box-trim: trim-start) and (text-box-edge: cap alphabetic)) {
238
244
  .era-notes-prose :global(.tiptap > :first-child) {
239
- /* -0.45em of untrimmed leading, plus the same +0.07em optical
245
+ /* -0.45em of untrimmed leading, plus the same +0.22em optical
240
246
  * allowance the trimmed path adds above. */
241
- margin-top: -0.38em;
247
+ margin-top: -0.23em;
242
248
  }
243
249
  }
244
250
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signal9/era-ui",
3
- "version": "4.16.2",
3
+ "version": "4.16.4",
4
4
  "scripts": {
5
5
  "dev": "vite dev --host",
6
6
  "build": "vite build && npm run prepack",