diff options
author | silverwind <me@silverwind.io> | 2022-10-14 11:43:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 17:43:25 +0800 |
commit | 9dc264a2eebbd30bbff483c26bf27f0406677f77 (patch) | |
tree | 8714d4910155ab0b91da722be11f57dc59b5bdfd /web_src/js/features | |
parent | 4de48d5252e4482610e197264695078378321fb1 (diff) | |
download | gitea-9dc264a2eebbd30bbff483c26bf27f0406677f77.tar.gz gitea-9dc264a2eebbd30bbff483c26bf27f0406677f77.zip |
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:
<img width="1271" alt="image"
src="https://user-images.githubusercontent.com/115237/195666451-55771595-0525-42b8-be1b-d03cc1cb2961.png">
After:
<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/115237/195666385-c91fd0de-6dcc-4d9c-89ff-7581828fcf14.png">
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js/features')
0 files changed, 0 insertions, 0 deletions