Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Keep wide boards and long tasks from squeezing the layout

emanuele-em3f5203859e60
diff --git a/src/index.html b/src/index.html
index 13af2da..748ad91 100644
--- a/src/index.html
+++ b/src/index.html
@@ -26,7 +26,7 @@ html, body { height: 100%; margin: 0; }
body {
background: var(--bg); color: var(--text);
font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
- display: grid; grid-template-columns: 220px 1fr; overflow: hidden;
+ display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
@@ -133,6 +133,8 @@ header .sub a { color: inherit; }
.panel .top .key { color: var(--muted); }
.panel .top .spacer { flex: 1; }
.panel .body { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
+/* The body scrolls instead; without this a long task squeezes the title and textareas to nothing. */
+.panel .body > * { flex-shrink: 0; }
.panel .title-input {
font-size: 18px; font-weight: 650; border: 1px solid transparent; background: none; padding: 4px 6px;
margin: -4px -6px; border-radius: 6px; width: calc(100% + 12px); resize: none; overflow: hidden; outline: none;
@@ -180,7 +182,7 @@ header .sub a { color: inherit; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
- body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
+ body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
aside { border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; }
.brand { padding-bottom: 6px; }
.nav { flex-direction: row; overflow-x: auto; }