Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
73 stars 32 forks source link

Only show the sidebar on mobile when the menu is open #212

Closed happy-river closed 3 years ago

happy-river commented 3 years ago

On mobile only, hide the sidebar unless the menu is toggled open, and then show the sidebar on top of the page content instead of below it.

On both mobile and desktop, make the copyright, site links and "served by" always appear in the sidebar, instead of just being there when the user has infinite scroll enabled.

I gave some color to the shadow at the bottom of the mobile sidebar to help differentiate it from the page content in dark mode, but I like how that looks in light mode too.

happy-river commented 3 years ago

I revised this with the last force push to put the copyright and page footer links back where they were. While I was at it I fixed the styling of the copyright and links on the home page when infinite scroll is on.