From ce1041860e33326670c3e3f5c6a55320ba51b725 Mon Sep 17 00:00:00 2001 From: Emma Jamieson-Hoare Date: Wed, 6 May 2026 15:17:38 +0100 Subject: [PATCH] fix: default snapshots viewer to archive --- apps/tempo-snapshots-viewer/src/index.ts | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/apps/tempo-snapshots-viewer/src/index.ts b/apps/tempo-snapshots-viewer/src/index.ts index 85bee010e..88456b294 100644 --- a/apps/tempo-snapshots-viewer/src/index.ts +++ b/apps/tempo-snapshots-viewer/src/index.ts @@ -1619,6 +1619,15 @@ async function handleUI(_req: Request, env: Env) { background: var(--surface-hover); } + .preset:disabled { + cursor: not-allowed; + opacity: 0.45; + } + + .preset:disabled:hover { + background: var(--surface); + } + .preset.active { background: var(--surface-hover); border-color: var(--accent); @@ -2103,7 +2112,7 @@ async function handleUI(_req: Request, env: Env) {
- - -