Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(control-ui): stop the provider panel widening to its longest line

Jose Ramirez55d2d2e43873
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.css
index e2ef4c1da..1081565ce 100644
--- a/control-ui/app/globals.css
+++ b/control-ui/app/globals.css
@@ -9648,6 +9648,14 @@ textarea.cu-input {
.cu-channel-provider-panel,
.cu-channel-access {
display: grid;
+ /* minmax(0, 1fr), not the default `auto` track. An auto track is max-content
+ sized and its items keep `min-width: auto`, so the widest unbreakable line
+ in the panel sets the track width and the content paints outside the panel
+ box, which does not clip it. The Slack app manifest triggers this: its
+ `request_url` line runs ~140 monospace characters, measured here at 1088px
+ inside a 670px panel. With a 0 floor the track shrinks to the panel and the
+ manifest's own `overflow-x: auto` scrolls it instead. */
+ grid-template-columns: minmax(0, 1fr);
gap: var(--cu-space-4);
padding: var(--cu-space-4);
border: 1px solid var(--cu-border-subtle);
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 8e53d0b9b..c32e3e6cd 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.406",
+ "version": "0.1.407",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.406",
+ "version": "0.1.407",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index e9a252f25..d0679198c 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.406",
+ "version": "0.1.407",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",