Skip to content

Commit aa15931

Browse files
authored
fix: right alignment on publish and signed out link style (#428)
two small style fixes I missed on a recent PR. The text on Published was not right aligned and the sign in button didn't get the same link styles as the other link. <img width="401" alt="Screenshot 2024-04-22 at 11 00 40 AM" src="https://github.com/jsr-io/jsr/assets/776987/1383a6c0-550f-498f-8444-8813dcc6d751">
1 parent c9740ea commit aa15931

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function Header({
106106
{user
107107
? <UserMenu user={user} sudo={sudo} logoutUrl={logoutUrl} />
108108
: (
109-
<a href={loginUrl} class="link flex items-center gap-2">
109+
<a href={loginUrl} class="link-header flex items-center gap-2">
110110
<GitHub class="size-5 flex-none" />
111111
Sign in
112112
</a>

frontend/routes/package/(_components)/PackageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function PackageHeader(
161161

162162
<div>
163163
{selectedVersion?.createdAt && (
164-
<div class="flex flex-row items-baseline md:flex-col gap-2 md:gap-1.5 text-sm font-bold">
164+
<div class="flex flex-row items-baseline md:items-end md:flex-col gap-2 md:gap-1.5 text-sm font-bold">
165165
<div>Published</div>
166166
<div
167167
class="leading-none font-normal"

0 commit comments

Comments
 (0)