The Unified and Autonomous Development Platform
Fix image distortion issue in diff view
Robin Shen7d327bd58028
diff --git a/server-core/src/main/java/io/onedev/server/web/component/diff/blob/image/BlobImageDiffPanel.html b/server-core/src/main/java/io/onedev/server/web/component/diff/blob/image/BlobImageDiffPanel.htmlindex cc3d05d1fe..308ed75cb3 100644--- a/server-core/src/main/java/io/onedev/server/web/component/diff/blob/image/BlobImageDiffPanel.html+++ b/server-core/src/main/java/io/onedev/server/web/component/diff/blob/image/BlobImageDiffPanel.html@@ -3,10 +3,10 @@<div wicket:id="title" class="border-bottom px-3 py-2 text-break"></div><div class="content d-flex"><div class="old p-3 border-right w-50">- <img wicket:id="old" class="w-100 h-100" title="Before modification">+ <img wicket:id="old" class="w-100" title="Before modification"></div><div class="new p-3 w-50">- <img wicket:id="new" class="w-100 h-100" title="After modification">+ <img wicket:id="new" class="w-100" title="After modification"></div></div></div>