My website utilizes pure.css and the navbar has more elements than can fit on a small screen without scrolling. This results in an unwanted scrollbar appearing. I want the navbar to remain at the top so that it scrolls along with the content. However, when I use position:absolute;, the layout looks even worse. Additionally, I need the mobile version of the navbar to still be functional, allowing users to scroll through it on mobile screens.
I've attempted to disable overflow-y, but then not all elements on the navbar are clickable. Finding a solution that maintains functionality while keeping the design clean is essential for the optimal user experience.