okawaffles / OkayuCDN

A File Upload Server based around Nekomata Okayu.
https://okayu.okawaffles.com
Other
2 stars 0 forks source link

Some Images don't center when viewed. #29

Closed tacobella03 closed 3 months ago

tacobella03 commented 3 months ago

Some images (from testing depending on size) don't center on the page.

This happens when the image uploaded is under a certain width (seems to be around 250px in width) and regardless of the height, the image is skewed to the left of the preview area.

Not sure why this is, i think its to do with the Width of the Download button also being 250px. Images in order: 1) Shows width of 155 and height of 160, Skewed Left. 2) Shows Width of 155 and height of 600, Skewed Left. 3) Shows Width and Height of 250, Centered. image image image

tacobella03 commented 3 months ago

Update: This is not to do with the Download button, it is with file Names Image shown: the 250x250px Photo but with the file name being Extremley Long. image

The div for the previewArea flexes to the same size (Width) as the h2 for File Name. Not sure how to fix that.

okawaffles commented 3 months ago

possibly fixed in commit 1f7587e

okawaffles commented 3 months ago

not fixed. going to restyle the page to fix a lot of issues. image

okawaffles commented 3 months ago

fixed in next commit. mobile styling and desktop styling have been changed. this issue will be closed when committing. this commit will be pushed to nightly. image