From 471b6d24b49ca749a93dcb1f292774aaa8935369 Mon Sep 17 00:00:00 2001 From: Hester Gong Date: Mon, 6 Mar 2023 23:44:04 +0800 Subject: Fix PR view misalignment caused by long name file (#23321) Close #23248 The UI after this PR: https://user-images.githubusercontent.com/17645053/223009758-7f0c9f12-d346-4cb2-a605-729fddce732f.mov --- templates/repo/diff/box.tmpl | 4 ++-- web_src/less/_repository.less | 19 +++++++++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 4e6879650..afd471368 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -79,7 +79,7 @@ {{$isExpandable := or (gt $file.Addition 0) (gt $file.Deletion 0) $file.IsBin}}