Skip to content

Commit 5cf5d08

Browse files
committed
fix: dropdown position
1 parent 6b19c56 commit 5cf5d08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/ui/resources.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ function CopyCodeBlock({ copied, setCopied }: CopyCodeBlockProps) {
160160
<span className="sr-only">Copy code to clipboard</span>
161161
</span>
162162
</summary>
163-
<DetailsPopup className="-bottom-28" childrenClassName="!w-20">
163+
<DetailsPopup
164+
className="!left-auto !right-0 top-10"
165+
childrenClassName="!w-20"
166+
>
164167
<Form preventScrollReset replace className="flex flex-col gap-px">
165168
<input
166169
type="hidden"

0 commit comments

Comments
 (0)