codehost 0.20.3 → 0.20.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.20.4](https://github.com/snomiao/codehost/compare/v0.20.3...v0.20.4) (2026-06-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **web:** a root card with many checkouts spans the full grid row so its links actually flow into columns ([21d65ff](https://github.com/snomiao/codehost/commit/21d65ff18a8e266a32b6e314f0de03d26cc97c4c))
7
+
1
8
  ## [0.20.3](https://github.com/snomiao/codehost/compare/v0.20.2...v0.20.3) (2026-06-12)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codehost",
3
- "version": "0.20.3",
3
+ "version": "0.20.4",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1044,8 +1044,11 @@ export function Discovery() {
1044
1044
  <ul style={styles.list}>
1045
1045
  {g.items.map(({ server: s, room, name, tags }) => {
1046
1046
  const isActive = s.peerId === activePeerId;
1047
+ // A root daemon listing many checkouts gets the whole row,
1048
+ // so its links can flow into columns.
1049
+ const wide = (s.meta?.workspaces?.length ?? 0) > 3;
1047
1050
  return (
1048
- <li key={s.peerId} style={styles.card}>
1051
+ <li key={s.peerId} style={{ ...styles.card, ...(wide ? { gridColumn: "1 / -1" } : {}) }}>
1049
1052
  <div style={styles.cardMain}>
1050
1053
  <div style={styles.cardName}>{name}</div>
1051
1054
  <div style={styles.tagRow}>