Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title inconsistent or missing when window is small #1042

Open
DJ-Laser opened this issue Dec 26, 2024 · 1 comment
Open

Title inconsistent or missing when window is small #1042

DJ-Laser opened this issue Dec 26, 2024 · 1 comment
Assignees

Comments

@DJ-Laser
Copy link

When the window is resized, the title of a ship will change or disappear.
Big:
Image
Small:
Image

Notice how the shipped catsay loses the exclamation mark, and the draft update just ceases to have a title

I think this is due to in ships.tsx the small header uses the code

<h2 className="text-xl font-semibold text-left mb-2 sm:hidden block">
  {s.title}
</h2>

While the big one uses:

<h2 className="text-xl font-semibold text-left mb-2 sm:block hidden">
  {latestShip.title}
</h2>

The s should be changed to latestShip to fix this

@DJ-Laser
Copy link
Author

Actually ima make a pr rn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant