Update src/vs/sessions/contrib/changes/browser/ciStatusWidget.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Lee Murray
2026-03-31 15:02:10 +01:00
committed by GitHub
parent a29a7d7c22
commit 5f8a459600

View File

@@ -148,7 +148,7 @@ class CICheckListRenderer implements IListRenderer<ICICheckListItem, ICICheckTem
*/
export class CIStatusWidget extends Disposable {
static readonly HEADER_HEIGHT = 36; // min-height 22px + 12px vertical padding
static readonly HEADER_HEIGHT = 36; // total header height in px
static readonly MIN_BODY_HEIGHT = 84; // at least 3 checks (3 * 28)
static readonly PREFERRED_BODY_HEIGHT = 112; // preferred 4 checks (4 * 28)
static readonly MAX_BODY_HEIGHT = 240; // at most ~8 checks