Skip to content

Commit

Permalink
fix(theme-default): Fix collapsed space between last updated text and…
Browse files Browse the repository at this point in the history
… time (#648)
  • Loading branch information
joaopalmeiro authored Feb 22, 2024
1 parent 7c3cd15 commit 5ea9055
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-kangaroos-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rspress/theme-default": patch
---

fix(theme-default): Fix collapsed space between last updated text and time
5 changes: 3 additions & 2 deletions packages/theme-default/src/components/LastUpdated/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export function LastUpdated() {

return (
<div className="flex text-sm text-text-2 leading-6 sm:leading-8 font-medium">
<p>{lastUpdatedText}: </p>
<span>{lastUpdatedTime}</span>
<p>
{lastUpdatedText}: <span>{lastUpdatedTime}</span>
</p>
</div>
);
}

0 comments on commit 5ea9055

Please sign in to comment.