The episode sheet's model chips are as wide as their names; the splits chart's marks carry their model
Browse files- card-charts.js +1 -1
- viewer.css +2 -2
card-charts.js
CHANGED
|
@@ -385,7 +385,7 @@ function splitsChart(Bn, W, narrow) {
|
|
| 385 |
for (const p of [...pts].sort((a, b) => a.C.mean - b.C.mean)) {
|
| 386 |
const q = [[xs[0], yv(p.pre_cutoff.mean)], [xs[1], yv(p.post_cutoff.mean)]];
|
| 387 |
lines += `<path class="ln${p.key === top ? " ln-b" : ""}" d="${path(q)}" stroke="${bcol(p)}"/>`;
|
| 388 |
-
marks += q.map(([x, y]) => mark(SHAPE[p.provider], x, y, p.key === top ? r + 0.6 : r, bcol(p), "mk", p.key !== p.family)).join("");
|
| 389 |
}
|
| 390 |
const key = (e, x, y) => (e.op ? `<circle class="op-dot" cx="${f1(x)}" cy="${f1(y)}" r="3"/>` : mark(SHAPE[e.p.provider], x, y, 4.2, bcol(e.p), "mk-s", e.p.key !== e.p.family));
|
| 391 |
const values = (k, x, dir, keyed) => {
|
|
|
|
| 385 |
for (const p of [...pts].sort((a, b) => a.C.mean - b.C.mean)) {
|
| 386 |
const q = [[xs[0], yv(p.pre_cutoff.mean)], [xs[1], yv(p.post_cutoff.mean)]];
|
| 387 |
lines += `<path class="ln${p.key === top ? " ln-b" : ""}" d="${path(q)}" stroke="${bcol(p)}"/>`;
|
| 388 |
+
marks += q.map(([x, y], i) => `<g class="pt" data-k="${p.key}" data-sp="${i ? "post_cutoff" : "pre_cutoff"}">${mark(SHAPE[p.provider], x, y, p.key === top ? r + 0.6 : r, bcol(p), "mk", p.key !== p.family)}</g>`).join("");
|
| 389 |
}
|
| 390 |
const key = (e, x, y) => (e.op ? `<circle class="op-dot" cx="${f1(x)}" cy="${f1(y)}" r="3"/>` : mark(SHAPE[e.p.provider], x, y, 4.2, bcol(e.p), "mk-s", e.p.key !== e.p.family));
|
| 391 |
const values = (k, x, dir, keyed) => {
|
viewer.css
CHANGED
|
@@ -474,11 +474,11 @@ table.eps .mk.pick { color: var(--agent); border-color: color-mix(in srgb, var(-
|
|
| 474 |
}
|
| 475 |
|
| 476 |
.filters .seg.fm { width: 100%; flex-wrap: wrap; }
|
| 477 |
-
.filters .seg.fm button { flex: 1 1 18%; padding-left: 7px; padding-right: 7px; }
|
| 478 |
|
| 479 |
@media (max-width: 720px) {
|
| 480 |
.filters .seg.fm { width: 100%; flex-wrap: wrap; }
|
| 481 |
-
.filters .seg.fm button { flex: 1 1 auto; }
|
| 482 |
.filters .seg.fm .full, .filters .seg.fm small { display: none; }
|
| 483 |
.filters .seg.fm .nick { display: inline; }
|
| 484 |
}
|
|
|
|
| 474 |
}
|
| 475 |
|
| 476 |
.filters .seg.fm { width: 100%; flex-wrap: wrap; }
|
| 477 |
+
.filters .seg.fm button { flex: 1 1 18%; min-width: max-content; padding-left: 7px; padding-right: 7px; }
|
| 478 |
|
| 479 |
@media (max-width: 720px) {
|
| 480 |
.filters .seg.fm { width: 100%; flex-wrap: wrap; }
|
| 481 |
+
.filters .seg.fm button { flex: 1 1 auto; min-width: 0; }
|
| 482 |
.filters .seg.fm .full, .filters .seg.fm small { display: none; }
|
| 483 |
.filters .seg.fm .nick { display: inline; }
|
| 484 |
}
|