···
import { createSignal, For, onCleanup, onMount, Show } from "solid-js";
import { Button } from "../components/button";
import { JSONValue } from "../components/json";
6
+
import { StickyOverlay } from "../components/sticky";
import { TextInput } from "../components/text-input";
···
172
-
class="dark:bg-dark-500 sticky top-0 z-5 flex w-screen flex-col items-center bg-neutral-100 px-4 text-sm"
174
-
<div class="flex w-[22rem] flex-col gap-2 py-3 sm:w-[24rem]">
172
+
<form ref={formRef} class="flex w-[22rem] flex-col gap-1 text-sm sm:w-[24rem]">
<Show when={!connected()}>
176
-
<label class="flex items-center justify-end gap-x-2">
174
+
<label class="flex items-center justify-end gap-x-1">
<span class="min-w-[5rem]">Instance</span>
···
<Show when={streamType === StreamType.JETSTREAM}>
190
-
<label class="flex items-center justify-end gap-x-2">
188
+
<label class="flex items-center justify-end gap-x-1">
<span class="min-w-[5rem]">Collections</span>
···
<Show when={streamType === StreamType.JETSTREAM}>
202
-
<label class="flex items-center justify-end gap-x-2">
200
+
<label class="flex items-center justify-end gap-x-1">
<span class="min-w-[5rem]">DIDs</span>
···
213
-
<label class="flex items-center justify-end gap-x-2">
211
+
<label class="flex items-center justify-end gap-x-1">
<span class="min-w-[5rem]">Cursor</span>
···
{connected() ? "Disconnect" : "Connect"}
<Show when={notice().length}>
<div class="text-red-500 dark:text-red-400">{notice()}</div>