From 9dc264a2eebbd30bbff483c26bf27f0406677f77 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 14 Oct 2022 11:43:25 +0200 Subject: Diff file tree tweaks (#21446) - Left-align the diff stat line again like previously. - Default the file tree to collapsed view, which means the tree will rendered initially collapsed and it may "pop in" via JS if enabled. I think this is more desirable than having the empty space for the tree "pop out" like it currently does. - Mute the icon, removing color unless hovered. - Increase icon size and vertically center it. Before: image After: image Co-authored-by: wxiaoguang --- web_src/less/_repository.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web_src') diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index c5d2a5f50a..5dee3fccdd 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3099,11 +3099,11 @@ td.blob-excerpt { @media @mediaMdAndDown { #diff-file-tree { - display: none; + display: none !important; } .diff-toggle-file-tree-button { - display: none; + display: none !important; } } -- cgit v1.2.3