Fixed linux installer cards height

This commit is contained in:
Zhenya Goroh
2024-09-30 18:25:06 +03:00
parent ee15100f2c
commit 3cca261161

View File

@@ -246,9 +246,7 @@ export default function DownloadPage() {
</p> </p>
<pre className="mt-2 flex items-center justify-between rounded-md bg-background p-2 text-muted-foreground"> <pre className="mt-2 flex items-center justify-between rounded-md bg-background p-2 text-muted-foreground">
{linuxAppimageBashScript} {linuxAppimageBashScript}
<CopyButton <CopyButton valueToCopy={linuxAppimageBashScript} />
valueToCopy={linuxAppimageBashScript}
/>
</pre> </pre>
</div> </div>
)} )}
@@ -264,9 +262,7 @@ export default function DownloadPage() {
</p> </p>
<pre className="mt-2 flex items-center justify-between rounded-md bg-background p-2 text-muted-foreground"> <pre className="mt-2 flex items-center justify-between rounded-md bg-background p-2 text-muted-foreground">
{linuxFlatpakScript} {linuxFlatpakScript}
<CopyButton <CopyButton valueToCopy={linuxFlatpakScript} />
valueToCopy={linuxFlatpakScript}
/>
</pre> </pre>
</div> </div>
)} )}
@@ -512,11 +508,11 @@ export default function DownloadPage() {
<FieldDescription> <FieldDescription>
Choose the type of download you want for Zen for Linux. Choose the type of download you want for Zen for Linux.
</FieldDescription> </FieldDescription>
<div className="flex items-center justify-center"> <div className="flex items-stretch justify-center">
<div <div
onClick={() => setSelectedLinuxDownloadType("appimage")} onClick={() => setSelectedLinuxDownloadType("appimage")}
className={ny( className={ny(
"mb-2 flex h-full w-full cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5", "mb-2 flex flex-1 cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5",
selectedLinuxDownloadType === "appimage" selectedLinuxDownloadType === "appimage"
? "border-blue-400" ? "border-blue-400"
: "", : "",
@@ -533,7 +529,7 @@ export default function DownloadPage() {
<div <div
onClick={() => setSelectedLinuxDownloadType("portable")} onClick={() => setSelectedLinuxDownloadType("portable")}
className={ny( className={ny(
"mb-2 ml-5 flex h-full w-full cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5", "mb-2 ml-5 flex flex-1 cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5",
selectedLinuxDownloadType === "portable" selectedLinuxDownloadType === "portable"
? "border-blue-400" ? "border-blue-400"
: "", : "",
@@ -550,7 +546,7 @@ export default function DownloadPage() {
<div <div
onClick={() => changeToFlatpak()} onClick={() => changeToFlatpak()}
className={ny( className={ny(
"mb-2 ml-5 flex h-full w-full cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5", "mb-2 ml-5 flex flex-1 cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5",
selectedLinuxDownloadType === "flatpak" selectedLinuxDownloadType === "flatpak"
? "border-blue-400" ? "border-blue-400"
: "", : "",