Skip to content

Commit

Permalink
fix(suspensive.org): fix v2 place in the logo (#1276)
Browse files Browse the repository at this point in the history
# Overview

<!--
    A clear and concise description of what this pr is about.
 -->

Quick little UI bug I found. Fixed by removing `right-0`. Thanks!

### AS-IS
<img width="855" alt="Captura de pantalla 2024-09-25 a las 12 02 34 p
 m"
src="https://github.com/user-attachments/assets/35bed338-7b43-443c-ad71-ce826f22e194">

### TO-BE
<img width="845" alt="Captura de pantalla 2024-09-25 a las 12 04 24 p
 m"
src="https://github.com/user-attachments/assets/3573678d-9d4e-424f-be29-58bde250a121">

## PR Checklist

- [✅] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md)
2. I added documents and tests.
  • Loading branch information
saul-atomrigs authored Sep 25, 2024
1 parent b902c25 commit 5d81410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/suspensive.org/src/components/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const HomePage = ({
<Image src="/img/logo_background_star.png" alt="Suspensive with star" width={400} height={241} />
<div className="flex flex-col items-center gap-4">
<div className="relative text-5xl font-bold">
<span>{title}</span> <span className="absolute right-0 text-sm">v{version}</span>
<span>{title}</span> <span className="absolute text-sm">v{version}</span>
</div>
<p className="text-3xl">{description}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/suspensive.org/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const config: DocsThemeConfig = {
<Image src="/img/logo_dark.png" width={34} height={34} alt="suspensive logo" />
<div className="relative">
<strong>Suspensive</strong>
<span className="absolute right-0 text-[8px]">v2</span>
<span className="absolute text-[8px]">v2</span>
</div>
</div>
)
Expand Down

0 comments on commit 5d81410

Please sign in to comment.