From 55f554d13c2468a555e50106cd306edc5b216688 Mon Sep 17 00:00:00 2001 From: mesalogo Date: Sat, 3 Oct 2026 13:21:04 +0800 Subject: [PATCH] fix: keep composer context usage on the action row by letting it shrink --- src/renderer/src/styles.css | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/renderer/src/styles.css b/src/renderer/src/styles.css index e361ab03..a556a50d 100644 --- a/src/renderer/src/styles.css +++ b/src/renderer/src/styles.css @@ -8907,6 +8907,7 @@ button > svg { .composer-context-meter { display: flex; min-width: 0; + flex: 1 1 160px; align-items: center; color: var(--text-muted); gap: var(--space-2); @@ -8917,6 +8918,8 @@ button > svg { } .composer-context-meter__summary { + min-width: 0; + flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -8925,8 +8928,9 @@ button > svg { .composer-context-meter__track { position: relative; width: 112px; + min-width: 40px; height: 4px; - flex: 0 0 112px; + flex: 0 4 112px; border-radius: 999px; overflow: visible; background: var(--surface-muted); @@ -8991,15 +8995,6 @@ button > svg { right: 0; left: auto; } - - .composer-context-meter { - width: 100%; - } - - .composer-context-meter__track { - min-width: 64px; - flex: 1; - } } .settings-backdrop {