bugfix2 for book theme 0 ▲ ReedyBear's Blog 1 hour ago · Tech · hide · 0 comments For the updated code, see code for bearblog book theme. Just replace your old CSS & Javascript with what's on that post now. bugfix1 added display:block to list elements because ... well it sort of fixed a problem where lists (like your 'all blog posts' page) caused the side-scrolling to just not work right. But it didn't completely fix it. It was a hacky solution. And after implementing bugfix2, bugfix1 was no longer needed. So. Bugfix2. First, I was incorrectly calculating the number of pages. TLDR, the calculated page-width and the measured page-width just don't seem to align perfectly. After the fix, they're still not perfectly aligned, but my updated calculation seems to work. The improper calculations were causing the right-scroll to stop before reaching the last page (bc my calculation determined there were fewer pages than actually existed) Second, when scrolling long lists, some pages were being skipped. I was using a scroll-snap feature of CSS before, which allowed… No comments yet. Log in to reply on the Fediverse. Comments will appear here.