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)} setActiveTab={(t) => setActiveTab(t.name)}
/> />
</div> </div>
{activeTab === "feed" ? <ProfileFeed pubkey={pubkey} /> : ""} <div className="px-4">
{activeTab === "subscriptions" ? <Subscriptions pubkey={pubkey} /> : ""} {activeTab === "feed" ? <ProfileFeed pubkey={pubkey} /> : ""}
{activeTab === "subscriptions" ? (
<Subscriptions pubkey={pubkey} />
) : (
""
)}
</div>
</div> </div>
</div> </div>
); );

View File

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