Elektrine lite

← Feed

@82mhz@mastodon.bsd.cafe

Post #1265820

2026-03-04 13:40 UTC

@irgndsondepp Looks good! But that's a lot of code for a simple menu; don't know if I really want to go down that route. Maybe some other time. My CSS needs some cleanup anyway ;)

Replies (1)

  • @irgndsondepp@gts.da-miez.de 2026-03-04 13:52

    @82mhz I'm sure there's a better way to do it. My initial thought was that I'd just set a CSS rule that shifts the navigation elements from being in a row to a column, depending on the width of the display. But it still took up a lot of space and I wasn't sure if I could wrap the existing navbar into a hamburger menu. So I added a duplicate and now I hide one or the other depending on the display width. 😅

    Open ##1265821