Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picure in a log entry can destroy opencaching layout #2393

Open
mzylowski opened this issue Aug 4, 2023 · 1 comment
Open

Picure in a log entry can destroy opencaching layout #2393

mzylowski opened this issue Aug 4, 2023 · 1 comment

Comments

@mzylowski
Copy link
Member

We had an issue reported via e-mail about broken view of a cache. See screenshot:

Zrzut ekranu 2023-08-02 201020

Problem was caused by adding image to log entry in a some interesting way:
Screenshot_45
Problem seems to be in fancybox-image class, because link to image seems to be totally normal (and small dimentions too): https://opencaching.pl/upload/30B0F0AA-92BD-AB78-9657-7FCFB200ABC5.png

@bartsman
Copy link
Contributor

bartsman commented Aug 4, 2023

It can also be done faster and easier

css/style_screen.css
div.viewcache_log-content img{ position: relative; max-height: 500px; }
This won't break the fancybox and will limit the height of all weird pictures in the logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants