chore: button height auto

This commit is contained in:
Tristan Yang
2023-02-26 14:42:09 +08:00
parent c3e60db634
commit abc87c8206
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default function DonePage({ serverName }: { serverName: string }) {
<span className="font-bold" />
</Trans>
</span>
<StyledButton className="!w-32 flex flex-col items-center py-3" onClick={() => navigate("/")}>
<StyledButton className="!w-32 h-auto flex flex-col items-center py-3" onClick={() => navigate("/")}>
<img className="mb-2" src={PlayIcon} alt="play icon" />
<span className="text-sm">{t("enter")}</span>
</StyledButton>
+1 -1
View File
@@ -13,7 +13,7 @@ export default function WelcomePage() {
<span className="text-sm mb-6">
{t("welcome_desc")}
</span>
<StyledButton className="!w-32 flex flex-col gap-2 items-center py-3 text-sm" onClick={nextStep}>
<StyledButton className="!w-32 h-auto flex flex-col gap-2 items-center py-3 text-sm" onClick={nextStep}>
<img src={PlayIcon} alt="play icon" />
<span>{t("start")}</span>
</StyledButton>