fix(web): hide the enrollment command's horizontal scrollbar

A full-height native scrollbar under a one-line command read as clutter.
The command still scrolls (wheel/trackpad/drag) and the copy button is
the intended affordance; the track is hidden with the same pattern the
composer strip and model sidebar already use.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Ben DavisandClaude Fable 5 committed 2026-07-28 09:53:57 -07:00
1 parent a5400f8b39
commit 7afd833485
1 file changed
+5 -1
@@ -281,7 +281,11 @@ export function HermesGatewayInstanceSection(props: {
</p>
</div>
<div className="flex min-w-0 items-center gap-2">
<code className="min-w-0 flex-1 overflow-x-auto whitespace-nowrap rounded bg-muted px-2 py-1.5 text-[11px]">
{/* Native horizontal scrollbar hidden, matching the composer's
pending strip: the command still scrolls (wheel/trackpad/drag)
but the copy button is the intended affordance — a fat track
under a one-line secret-bearing command reads as clutter. */}
<code className="min-w-0 flex-1 overflow-x-auto whitespace-nowrap rounded bg-muted px-2 py-1.5 text-[11px] [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
{enrollment.command}
</code>
<Button