You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest having a feature which allowed the user to fit the image to a given % of the width/height available, instead of just fitting to width/height.
The reason I suggest this is because whenever I open up an image/video, it expands and takes up almost the full space available, leaving the reply bar to be partially hidden (e.g.: no info on user, date, replies, etc.).
There is also the fact that the URL tooltip on hover gets a little bit the way, but what's worse, is the download bar, because in FireFox, the download bar is an addon that renders on top of the page, meaning that 4Chan-X in unaware of it and the bottom part of the image/video gets partially cropped.
Here's a screenshot where you can see that the reply information on the top and the bottom portion of the image are cropped out:
The text was updated successfully, but these errors were encountered:
The max-height itself could be changed to whatever you want. I use max-height: calc(100vh - 4rem). In fact, you might be able to use calc(100dvh - 32px) which should change when the download bar appears (might not account for the URL tooltip though, in which case make 32 bigger).
Thanks for the reply!
I was perfectly able of taking into account the URL tooltip, but not the download bar. Maybe the download bar is very hacky and doesn't notify the browser in any way, who knows.
Regardless, I'm going to mark this as solved as now it's simply a matter of playing with CSS to get what I want to.
If I end up finding a solution to dynamically take into account the presence of the download bar (using Download Manager S3 in Firefox), I will post it here.
I would like to suggest having a feature which allowed the user to fit the image to a given % of the width/height available, instead of just fitting to width/height.
The reason I suggest this is because whenever I open up an image/video, it expands and takes up almost the full space available, leaving the reply bar to be partially hidden (e.g.: no info on user, date, replies, etc.).
There is also the fact that the URL tooltip on hover gets a little bit the way, but what's worse, is the download bar, because in FireFox, the download bar is an addon that renders on top of the page, meaning that 4Chan-X in unaware of it and the bottom part of the image/video gets partially cropped.
Here's a screenshot where you can see that the reply information on the top and the bottom portion of the image are cropped out:

The text was updated successfully, but these errors were encountered: