Skip to content

Commit 6512ff7

Browse files
committed
style: update button position
1 parent 5cf5d08 commit 6512ff7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/ui/resources.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ function CopyCodeBlock({ copied, setCopied }: CopyCodeBlockProps) {
162162
</summary>
163163
<DetailsPopup
164164
className="!left-auto !right-0 top-10"
165-
childrenClassName="!w-20"
165+
childrenClassName="!w-[110px]"
166166
>
167-
<Form preventScrollReset replace className="flex flex-col gap-px">
167+
<Form preventScrollReset replace className="flex flex-col">
168168
<input
169169
type="hidden"
170170
name="category"
@@ -205,9 +205,9 @@ function PackageManagerButton({
205205
const submit = useSubmit();
206206
return (
207207
<button
208-
className="rounded-sm hover:cursor-pointer hover:bg-gray-50"
208+
className="rounded-md p-1.5 text-left text-sm hover:cursor-pointer hover:bg-gray-50"
209209
type="submit"
210-
onClick={(e) => {
210+
onClick={() => {
211211
submit({
212212
preventScrollReset: false,
213213
});

0 commit comments

Comments
 (0)