@parallelworks/tandem-web 0.141.1 → 0.141.2
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/pages/projects.js +6 -3
package/package.json
CHANGED
package/pages/projects.js
CHANGED
|
@@ -484,7 +484,7 @@ function ge({ workspace: e, projects: n, rowProps: r }) {
|
|
|
484
484
|
/* @__PURE__ */ R("ul", {
|
|
485
485
|
className: "relative",
|
|
486
486
|
children: u.map(({ p: n, start: i, end: a }) => {
|
|
487
|
-
let o = i !== void 0 && a !== void 0, c = o ? m(i) : 0, u = o ? Math.max(m(a + K), c + 24) : 0, d = o && u < s.left, f = o && c > s.left + s.width, p = o ? Math.min(Math.max(m(l) - c, 0), u - c) : 0;
|
|
487
|
+
let o = i !== void 0 && a !== void 0, c = o ? m(i) : 0, u = o ? Math.max(m(a + K), c + 24) : 0, d = o && u < s.left, f = o && c > s.left + s.width, p = o ? Math.min(Math.max(m(l) - c, 0), u - c) : 0, g = Math.min(Math.max(s.left + 8 - c, 0), Math.max(u - c - 80, 0));
|
|
488
488
|
return /* @__PURE__ */ z("li", {
|
|
489
489
|
className: "group flex hover:bg-muted/40",
|
|
490
490
|
style: { height: J },
|
|
@@ -505,8 +505,11 @@ function ge({ workspace: e, projects: n, rowProps: r }) {
|
|
|
505
505
|
width: u - c
|
|
506
506
|
},
|
|
507
507
|
children: [/* @__PURE__ */ R("span", {
|
|
508
|
-
className: "block truncate px-0.5 text-xs font-medium",
|
|
509
|
-
style: {
|
|
508
|
+
className: "block self-start truncate px-0.5 text-xs font-medium",
|
|
509
|
+
style: {
|
|
510
|
+
marginLeft: g,
|
|
511
|
+
maxWidth: Math.max(h - c - g, u - c - g)
|
|
512
|
+
},
|
|
510
513
|
children: n.name
|
|
511
514
|
}), /* @__PURE__ */ z("span", {
|
|
512
515
|
className: "relative block h-6 overflow-hidden rounded-md border border-border",
|