MatrixDevFunnyVideosMusicBooksProjectsAncapsTechEconomicsPrivacyGIFSCringeAnarchyFilmPicsThemesIdeas4MatrixAskMatrixHelpTop Subs
4

Unnecessary background below:


When you vote on something it instantly resorts the page. It shows you the impact of voting on something. But the way I was doing that before, re-appending the elements back to their parent in order, supposedly breaks iframes. So now I'm using css flex ordering.

One side consequence of that is now the #content element, which is the parent to the posts, ends up being more fixed width when it is changed from block to flex. Odd because you would think block would be fixed width as well. Maybe even more fixed with than "flex". Really it's block that lets children expand past a floated element, even if that floated element is down another branch. Which means the sidebar goes forever even if there isn't that much sidebar content. I've seen one person request that the sidebar does that anyway. I preferred the posts going full width after the sidebar. But if it means you can vote on a currently playing video that is more important.

It's weird how many qwerks in web end up connected to each other. Do you want a sidebar to end when it ends or do you want to vote an a video without it closing? Those two things should never be related. But through the random qwerks of like 5 different web technologies, they are. Web is weird.

Comment preview