fix: remove double px-4 on user profile page headers
This commit is contained in:
@@ -20,7 +20,7 @@ const indexUrl = `${mergedBase}index.json`;
|
|||||||
const athleteUrl = `${mergedBase}athlete.json`;
|
const athleteUrl = `${mergedBase}athlete.json`;
|
||||||
---
|
---
|
||||||
<Base title={`@${handle} Athlete — BincioActivity`}>
|
<Base title={`@${handle} Athlete — BincioActivity`}>
|
||||||
<div class="max-w-5xl mx-auto px-4 pt-6 pb-2">
|
<div class="pb-2">
|
||||||
<div class="flex items-start justify-between">
|
<div class="flex items-start justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const { handle, shardUrl } = Astro.props as { handle: string; shardUrl: string }
|
|||||||
const base = import.meta.env.BASE_URL;
|
const base = import.meta.env.BASE_URL;
|
||||||
---
|
---
|
||||||
<Base title={`@${handle} — BincioActivity`}>
|
<Base title={`@${handle} — BincioActivity`}>
|
||||||
<div class="max-w-5xl mx-auto px-4 pt-6 pb-2 flex items-center gap-4">
|
<div class="flex items-center gap-4 mb-2">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
||||||
<nav id="profile-subnav" class="flex gap-4 mt-1">
|
<nav id="profile-subnav" class="flex gap-4 mt-1">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const base = import.meta.env.BASE_URL;
|
|||||||
const indexUrl = `${base}data/${handle}/_merged/index.json`;
|
const indexUrl = `${base}data/${handle}/_merged/index.json`;
|
||||||
---
|
---
|
||||||
<Base title={`@${handle} Stats — BincioActivity`}>
|
<Base title={`@${handle} Stats — BincioActivity`}>
|
||||||
<div class="max-w-5xl mx-auto px-4 pt-6 pb-2">
|
<div class="pb-2">
|
||||||
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
<h1 class="text-2xl font-bold text-white mb-0.5">@{handle}</h1>
|
||||||
<nav id="profile-subnav" class="flex gap-4 mt-1 mb-6">
|
<nav id="profile-subnav" class="flex gap-4 mt-1 mb-6">
|
||||||
<a href={`${base}u/${handle}/`} class="text-sm text-zinc-400 hover:text-white transition-colors">Feed</a>
|
<a href={`${base}u/${handle}/`} class="text-sm text-zinc-400 hover:text-white transition-colors">Feed</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user