feat: redesign site card on mobile

This commit is contained in:
DIYgod
2023-09-20 00:04:41 +08:00
parent 070c339749
commit 4f593ff581
4 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ export const ConnectButton = ({
<PlusCircleIcon
className={`${
size === "base" ? "w-6 h-6 ml-2" : "w-5 h-5 ml-1"
} text-zinc-500 cursor-pointer`}
} text-zinc-500 cursor-pointer hidden sm:block`}
/>
}
dropdown={
+1 -1
View File
@@ -27,7 +27,7 @@ export const PatronButton = ({
variant="text"
aria-label={"Patron"}
key={t("Patron")}
className={cn(className, "-mx-2 text-red-400")}
className={cn(className, "-mx-3 sm:mx-0 text-red-400")}
onClick={() => presentPatronModal(site)}
>
<span className="inline-flex items-center">