Skip to content

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

TypeScript

docs(control-ui): name the card clip mechanism in the usage-scroll comment

M03d32d670cbc
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.css
index df203dcca..0f233dd2e 100644
--- a/control-ui/app/globals.css
+++ b/control-ui/app/globals.css
@@ -1146,12 +1146,13 @@ body.cu-body {
overflow: auto;
}
-/* The usage dashboard's body is the flexed child of a viewport-fill card whose
- ancestors are all height-capped or overflow-hidden (.cu-main is locked to
- 100vh with overflow hidden, .cu-card clips). Without its own scroll, content
- past the fold — the breakdown list under the fixed-height chart — is clipped
- with no scrollbar anywhere. The body owns the overflow, so the panel header
- stays visible while the content scrolls. */
+/* The usage dashboard's body is the flexed child (flex:1, min-height:0) of a
+ viewport-fill card inside a chain that caps its height (.cu-cost-layout is
+ height:100%, and the card flexes to fill it) while .cu-card's own
+ overflow: hidden clips whatever exceeds it. Without its own scroll, content
+ past the fold — the breakdown list under the fixed-height chart — is cut
+ off with no scrollbar anywhere. The body owns the overflow, so the panel
+ header stays visible while the content scrolls. */
.cu-card--viewport-fill > .cu-card__body.cu-usage-body {
overflow: auto;
}
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 2c586dcf5..e49835407 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.672",
+ "version": "0.1.673",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.672",
+ "version": "0.1.673",
"dependencies": {
"@clerum/display-field": "file:../packages/display-field",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/control-ui/package.json b/control-ui/package.json
index 5f95c6e06..d55750d71 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.672",
+ "version": "0.1.673",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",