@xeplr/ui-jobs 1.6.0 → 1.6.1

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/pages/Jobs.css +13 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeplr/ui-jobs",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "The screens for @xeplr/jobs — schedule, run, pause and watch jobs — as routes a host app registers, or a standalone app",
5
5
  "type": "module",
6
6
  "main": "src/index.jsx",
@@ -31,7 +31,11 @@
31
31
  /* ── the table ───────────────────────────────────────────────────────── */
32
32
  .jb-table-wrap {
33
33
  background: var(--surface, #ffffff); border: 1px solid var(--hair, #e2e1d9);
34
- border-radius: 13px; overflow: hidden;
34
+ border-radius: 13px;
35
+ /* SCROLLS rather than clips: if anything ever makes the table wider than
36
+ the page, the person can still reach its right-hand controls (a run's
37
+ log toggle). Clipping left them stuck with no way to collapse it. */
38
+ overflow-x: auto;
35
39
  }
36
40
  .jb-table { width: 100%; border-collapse: collapse; }
37
41
  .jb-table thead th {
@@ -206,7 +210,7 @@
206
210
 
207
211
  .jb-history {
208
212
  margin: 0 14px; border: 1px solid var(--hair, #e2e1d9); border-radius: 11px;
209
- background: var(--surface, #ffffff); overflow: hidden;
213
+ background: var(--surface, #ffffff); overflow-x: auto;
210
214
  }
211
215
  .jb-history-table { width: 100%; border-collapse: collapse; font-size: 13px; }
212
216
  .jb-history-table th {
@@ -353,7 +357,13 @@
353
357
  font-size: 13px; line-height: 1.5; }
354
358
  .jb-log-line { display: flex; gap: 12px; }
355
359
  .jb-log-at { flex: 0 0 auto; font-variant-numeric: tabular-nums; opacity: .6; }
356
- .jb-log-msg { flex: 1 1 auto; word-break: break-word; }
360
+ .jb-log-msg {
361
+ /* A log line WRAPS, whatever is in it — a generated SQL statement is one
362
+ long line. min-width: 0 lets the flex item shrink below its longest
363
+ word, and overflow-wrap: anywhere breaks inside one, so no line can make
364
+ the run table wider than the page. */
365
+ flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap;
366
+ }
357
367
  .jb-log-line--warn .jb-log-msg { color: var(--xeplr-warning, #a15c00); }
358
368
  .jb-log-line--error .jb-log-msg { color: var(--xeplr-error, #b3261e); }
359
369
  /* A bare button wearing .jb-caret — the UA's own chrome removed so the disc