adding padding

This commit is contained in:
zmeyer44 2023-10-24 13:00:34 -04:00
parent d4b0aeef96
commit 0468f715d7
2 changed files with 11 additions and 4 deletions

View File

@ -161,8 +161,14 @@ export default function ProfilePage({
setActiveTab={(t) => setActiveTab(t.name)}
/>
</div>
{activeTab === "feed" ? <ProfileFeed pubkey={pubkey} /> : ""}
{activeTab === "subscriptions" ? <Subscriptions pubkey={pubkey} /> : ""}
<div className="px-4">
{activeTab === "feed" ? <ProfileFeed pubkey={pubkey} /> : ""}
{activeTab === "subscriptions" ? (
<Subscriptions pubkey={pubkey} />
) : (
""
)}
</div>
</div>
</div>
);

View File

@ -110,17 +110,18 @@ export default function LoginModal() {
Connect with extension
</Button>
<div className="space-y-3">
<Label>nsec</Label>
<Label>Nsec</Label>
<Input
value={nsec}
onChange={(e) => setNsec(e.target.value)}
placeholder="nsec..."
className="text-[16px]"
/>
<Button
variant={"outline"}
onClick={() => void handleLoginNsec()}
loading={isLoading}
className="w-fill"
className="w-full"
>
Connect with Nsec
</Button>