Sefaria / Sefaria-Project

New Interfaces for Jewish Texts
https://www.sefaria.org
647 stars 265 forks source link

Footer retention on Scroll #1956

Open saengel opened 2 weeks ago

saengel commented 2 weeks ago

Description

Add "stickiness" to new footer, as well as position the component to render every time the sidebar renders.

Code Changes

  1. static/css/s2.css - Add the stickySidebarFooter class to trigger "stickiness" for the footer within the sidebar.
  2. static/js/NavSidebar.jsx - General render for the footer, add wrapper div with stickySidebarFooter class.

Notes: