You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind 9dc264a2ee
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>
2 years ago
..
branch Fix disable download button (#20701) 2 years ago
diff Diff file tree tweaks (#21446) 2 years ago
editor Make sure fmt catches all templates (#20979) 2 years ago
find Refactor `i18n` to `locale` (#20153) 2 years ago
graph Make sure fmt catches all templates (#20979) 2 years ago
issue Fix calls to i18n in templates (#21394) 2 years ago
migrate Make sure fmt catches all templates (#20979) 2 years ago
projects Make sure fmt catches all templates (#20979) 2 years ago
pulls Add filetree on left of diff view (#21012) 2 years ago
release Tag list should include draft releases with existing tags (#21263) 2 years ago
settings Fix calls to i18n in templates (#21394) 2 years ago
wiki Webhook for Wiki changes (#20219) 2 years ago
activity.tmpl Respect user's locale when rendering the date range in the repo activity page (#21410) 2 years ago
blame.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
branch_dropdown.tmpl Keep path when creating a new branch (#21153) 2 years ago
clone_buttons.tmpl Rework repo buttons (#20602) 2 years ago
clone_script.tmpl Make the vscode clone link respect transport protocol (#20557) 2 years ago
commit_page.tmpl Add filetree on left of diff view (#21012) 2 years ago
commit_status.tmpl Change commit status icons to SVG (#20736) 2 years ago
commit_statuses.tmpl Improve commit status icons (#21124) 2 years ago
commits.tmpl Rework repo buttons (#20602) 2 years ago
commits_list.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
commits_list_small.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
commits_table.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
create.tmpl Remove cancel button in repo creation page (#21381) 2 years ago
empty.tmpl Add default value for clone URLs (#20600) 2 years ago
forks.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
graph.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
header.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
home.tmpl Fix #21406: Hide repo information from file view/blame mode (#21420) 2 years ago
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 4 years ago
packages.tmpl Add Package Registry (#16510) 2 years ago
search.tmpl Add user/organization code search (#19977) 2 years ago
shabox_badge.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
sub_menu.tmpl Fix #21406: Hide repo information from file view/blame mode (#21420) 2 years ago
unicode_escape_prompt.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
view_file.tmpl Show .editorconfig errors in frontend (#21088) 2 years ago
view_list.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
watchers.tmpl Add class to page content to unify top margin (#13766) 4 years ago