Lexfeathers

I make music!

🏳️‍⚧️ Musician | Sound Designer

Find me elsewhere:
My website
Bsky
Instagram
Masto

 

img


It was a minor gripe of mine that the menu was fixed at the top on desktop, so I made a little userstyle to make it sticky.

EDIT: This was selecting a few too many things on different pages due to a rather unspecific selector. I've updated it to (ideally) only target the menu bar now 😅

@media (min-width: 1024px) {
    #headlessui-menu-items-\:r0\: {
      position: sticky;
      top: 8rem;
    }
}

You must log in to comment.

in reply to @Lexfeathers's post:

This is a good improvement, thanks for sharing it! I noticed that it does mangle the boxes containing top-level threads on posts (they use the same classes as the sidebar), but that's easily fixed on my end by not applying the script to post pages.