Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): prevent desktop running orbit clipping

Gus52927a3d8429
diff --git a/src/web/src/components/community/social/bot-audit-preview.module.css b/src/web/src/components/community/social/bot-audit-preview.module.css
index 59fcf4963..442c6a493 100644
--- a/src/web/src/components/community/social/bot-audit-preview.module.css
+++ b/src/web/src/components/community/social/bot-audit-preview.module.css
@@ -1 +1,2 @@
-.asciiOrbit { width: 54px; height: 21px; flex-shrink: 0; overflow: hidden; margin: 0; color: var(--note-ink, currentColor); font-size: 3px; font-weight: 900; -webkit-text-stroke: 0.15px currentColor; line-height: 3px; letter-spacing: 0; white-space: pre; user-select: none; }
+.asciiOrbit { display: block; width: 54px; height: 21px; flex-shrink: 0; overflow: hidden; color: var(--note-ink, currentColor); user-select: none; }
+.asciiOrbit > pre { width: 432px; height: 168px; margin: 0; font-size: 24px; font-weight: 900; -webkit-text-stroke: 1.2px currentColor; line-height: 24px; letter-spacing: 0; white-space: pre; transform: scale(0.125); transform-origin: top left; }
diff --git a/src/web/src/components/community/social/three-body-indicator.tsx b/src/web/src/components/community/social/three-body-indicator.tsx
index f1fe266a1..f426e7a03 100644
--- a/src/web/src/components/community/social/three-body-indicator.tsx
+++ b/src/web/src/components/community/social/three-body-indicator.tsx
@@ -67,5 +67,5 @@ export function ThreeBodyIndicator() {
document.removeEventListener("visibilitychange", sync)
}
}, [])
- return <pre ref={element} aria-hidden className={`font-mono ${styles.asciiOrbit}`}>{firstFrame}</pre>
+ return <span className={styles.asciiOrbit}><pre ref={element} aria-hidden className="font-mono">{firstFrame}</pre></span>
}