Fix padding

This commit is contained in:
Tuan Dang
2024-07-29 15:16:11 -07:00
parent 8deea21a83
commit 79bd8613d3
2 changed files with 5 additions and 5 deletions

View File

@@ -7,9 +7,9 @@ import { ShareSecretForm } from "./components";
export const ShareSecretPublicPage = () => {
return (
<div className="flex h-screen flex-col justify-between bg-gradient-to-tr from-mineshaft-700 to-bunker-800 px-4 text-gray-200 dark:[color-scheme:dark]">
<div className="flex h-screen flex-col justify-between bg-gradient-to-tr from-mineshaft-700 to-bunker-800 text-gray-200 dark:[color-scheme:dark]">
<div />
<div className="mx-auto w-full max-w-xl">
<div className="mx-auto w-full max-w-xl px-4">
<div className="mb-8 text-center">
<div className="mb-4 flex justify-center pt-8">
<Link href="https://infisical.com">
@@ -22,7 +22,7 @@ export const ShareSecretPublicPage = () => {
/>
</Link>
</div>
<h1 className="bg-gradient-to-b from-white to-bunker-200 bg-clip-text px-4 text-center text-4xl font-medium text-transparent">
<h1 className="bg-gradient-to-b from-white to-bunker-200 bg-clip-text text-center text-4xl font-medium text-transparent">
Share a secret
</h1>
<p className="text-md">

View File

@@ -18,7 +18,7 @@ export const ViewSecretPublicPage = () => {
return (
<div className="flex h-screen flex-col justify-between bg-gradient-to-tr from-mineshaft-700 to-bunker-800 text-gray-200 dark:[color-scheme:dark]">
<div />
<div className="mx-auto w-full max-w-lg">
<div className="mx-auto w-full max-w-xl px-4 ">
<div className="mb-8 text-center">
<div className="mb-4 flex justify-center pt-8">
<Link href="https://infisical.com">
@@ -31,7 +31,7 @@ export const ViewSecretPublicPage = () => {
/>
</Link>
</div>
<h1 className="bg-gradient-to-b from-white to-bunker-200 bg-clip-text px-4 text-center text-4xl font-medium text-transparent">
<h1 className="bg-gradient-to-b from-white to-bunker-200 bg-clip-text text-center text-4xl font-medium text-transparent">
View shared secret
</h1>
<p className="text-md">