Ahwxorg / Binternet

A custom Pinterest frontend, made in PHP.
GNU General Public License v3.0
133 stars 13 forks source link

Mimic pinterest image view on search page #30

Closed errormine closed 9 months ago

errormine commented 9 months ago

Just found this project while searching for a decent way to view Pinterest without an account cause I can't stand the ads anymore... Love it besides this tiny thing.

I just edited the CSS a bit to have images show up in columns similar to Pinterest. It leaves some awkward spacing at the bottom, but I think it's a better solution than the current flexbox which crops images pretty bad. If you implement some kind of infinite scroll I'm not sure how this would hold up, but as it is now I believe this is a minor improvement. The column width is arbitrary and looks good on my screen, but you may want to adjust it for other screen sizes!

I only tested it with a user style extension on Firefox, but it's a small enough change that I don't think it should break anything.

Here is a short GIF of what the change looks like:

ezgif-5-db35b8382b

Ahwxorg commented 9 months ago

We used to have this but it got lost in some PR sometime. Will gladly change it back!

+1 for the query on the GIF :)