Skip to content

Commit

Permalink
fix(docs): remove blank space from the version tag (#899)
Browse files Browse the repository at this point in the history
* fix(docs): new version text

* Create unlucky-pugs-search.md

---------

Co-authored-by: David Boyne <[email protected]>
  • Loading branch information
skyrpex and boyney123 authored Oct 27, 2024
1 parent f3e2906 commit a283534
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-pugs-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@eventcatalog/core": patch
---

fix(docs): remove blank space from the version tag
4 changes: 2 additions & 2 deletions src/pages/docs/[type]/[id]/[version]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ const badges = [getBadge(), ...contentBadges, ...getSpecificationBadges()];
class="underline hover:text-primary block pt-2"
href={buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.latestVersion}`)}
>
The latest version of this {props.collection.slice(0, props.collection.length - 1)} is v
{props.data.latestVersion} &rarr;
The latest version of this {props.collection.slice(0, props.collection.length - 1)} is
<span>v{props.data.latestVersion}</span> &rarr;
</a>
</p>
</div>
Expand Down

0 comments on commit a283534

Please sign in to comment.