Image diff has 0 width/height images #7355

Closed
opened 2025-11-02 07:23:48 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @silverwind on GitHub (May 18, 2021).

Seems like image diff is currently broken, all images have inline styles with width: 0; height: 0. I think the JS calculations go wrong somewhere. Also, I think default view mode should be image diff.

Example: https://try.gitea.io/silverwind/updates/commit/3d80fab2f8ee1d7bca1b7cff4f242461424866f8

cc: @KN4CK3R

Originally created by @silverwind on GitHub (May 18, 2021). Seems like image diff is currently broken, all images have inline styles with `width: 0; height: 0`. I think the JS calculations go wrong somewhere. Also, I think default view mode should be image diff. Example: https://try.gitea.io/silverwind/updates/commit/3d80fab2f8ee1d7bca1b7cff4f242461424866f8 cc: @KN4CK3R
GiteaMirror added the type/bug label 2025-11-02 07:23:48 -06:00
Author
Owner

@KN4CK3R commented on GitHub (May 19, 2021):

That's caused by the "file view toggle" from #14661 and already fixed in #14867. As 1.14.2 still works I would wait until the PR with the fix gets merged.

@KN4CK3R commented on GitHub (May 19, 2021): That's caused by the "file view toggle" from #14661 and already fixed in #14867. As 1.14.2 still works I would wait until the PR with the fix gets merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7355