Sh4yy / selfhosthq

A community-driven and open-source project to create a list of comprehensive guides and best practices for self-hosting services.
https://selfhosthq.com
MIT License
148 stars 9 forks source link

refactor: Update navbar and search styling #10

Closed emersonlaurentino closed 1 week ago

emersonlaurentino commented 1 week ago

Problem

Solution

I just remove some tailwind class and add some others, very simple, but now, the scroll for the article happen on the body, the navbar sticky works as well and the logo is aligned with the navbar.

Sh4yy commented 1 week ago

This is great, thank you! The only issue I'm seeing is that the sidebar is also moving up with the content, would it be possible to make that sticky as well?

emersonlaurentino commented 1 week ago

This is great, thank you! The only issue I'm seeing is that the sidebar is also moving up with the content, would it be possible to make that sticky as well?

Yeah, I'll try to fix it in this PR.

emersonlaurentino commented 1 week ago

@Sh4yy I fixed the sidebar sticky and I noticed that when the overlay is opened, the scroll on body is available, so I fixed it too.