bugfix2 for book theme 0 ▲ ReedyBear's Blog 79 days ago · Tech · hide · Fediverse post 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… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town