atproto explorer pdsls.dev
atproto tool

fix form overflow

juli.ee 1bf35001 dc7b3f36

verified
Changed files
+3 -3
src
components
+3 -3
src/components/create.tsx
···
</button>
</div>
</div>
-
<form ref={formRef} class="flex min-h-0 flex-1 flex-col gap-y-2 overflow-y-auto">
<Show when={props.create}>
<div class="flex flex-wrap items-center gap-1 text-sm">
<span>at://</span>
···
<div class="flex items-center justify-end gap-2">
<button
type="button"
-
class="flex items-center gap-1 rounded-sm p-1 text-sm hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
onClick={() =>
setValidate(
validate() === true ? false
···
<Tooltip text={getValidateLabel()}>
<span class={`iconify ${getValidateIcon()}`}></span>
</Tooltip>
-
<span>Validate</span>
</button>
<Show when={!props.create}>
<Button onClick={() => editRecord(true)}>Recreate</Button>
···
</button>
</div>
</div>
+
<form ref={formRef} class="flex min-h-0 flex-1 flex-col gap-y-2">
<Show when={props.create}>
<div class="flex flex-wrap items-center gap-1 text-sm">
<span>at://</span>
···
<div class="flex items-center justify-end gap-2">
<button
type="button"
+
class="flex items-center gap-1 rounded-sm p-1.5 text-sm hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
onClick={() =>
setValidate(
validate() === true ? false
···
<Tooltip text={getValidateLabel()}>
<span class={`iconify ${getValidateIcon()}`}></span>
</Tooltip>
+
<span class="text-xs">Validate</span>
</button>
<Show when={!props.create}>
<Button onClick={() => editRecord(true)}>Recreate</Button>