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
177 stars 9 forks source link

refactor: Update navbar and search styling #10

Closed emersonlaurentino closed 4 months ago

emersonlaurentino commented 4 months 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 4 months 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 4 months 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 4 months 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.