diff --git a/braindrain/livingdash_sidecar.py b/braindrain/livingdash_sidecar.py index 0b3fe57..4796ad7 100644 --- a/braindrain/livingdash_sidecar.py +++ b/braindrain/livingdash_sidecar.py @@ -904,6 +904,10 @@ def index(full_path: str): .cmd-label { position: absolute; top: -0.7rem; left: 1rem; background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 800; padding: 0.1rem 0.5rem; border-radius: 0.2rem; text-transform: uppercase; } code { color: #e2e8f0; display: block; white-space: pre-wrap; } .footer { margin-top: 2rem; font-size: 0.8rem; color: #ffffff20; } + .copy-btn { position: absolute; top: 0.75rem; right: 0.75rem; background: transparent; border: 1px solid #ffffff20; color: var(--muted); padding: 0.4rem; border-radius: 0.4rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } + .copy-btn:hover { background: #ffffff10; color: var(--accent); border-color: var(--accent); } + .copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } + .copy-btn svg { width: 1.1rem; height: 1.1rem; } @@ -912,12 +916,37 @@ def index(full_path: str):

The dashboard UI build is not found. Run the following to generate it:

Quick Build - cd .ldash/ui + + cd .ldash/ui pnpm install pnpm run build
+ """