wxiaoguang d1527dac3d
Improve file history UI and fix URL escaping bug (#27531)
Follow #27354

Major changes:

1. The `right aligned` in `<th class="one wide right aligned">` is a
no-op because it doesn't have any content
2. The `gt-df` in `<td class="sha gt-df">` was wrong, it causes UI
misalignment, a table cell shouldn't be "flex"
3. Use `gt-py-0` for `gt-pt-0 gt-pb-0`
4. Simplify the layout for buttons, because the `text right aligned` is
widely used and good enough, it doesn't make sense to introduce the
`<div class="gt-df gt-je">`
5. Escape the `$.FileName` correctly


Before:


![image](https://github.com/go-gitea/gitea/assets/2114189/eb2ced3f-1dad-4149-9ed2-aee4c0663621)

After:


![image](https://github.com/go-gitea/gitea/assets/2114189/08244b61-416b-4279-b495-029bc0a96f67)
2023-10-09 07:19:23 +00:00
..
2023-09-30 17:03:04 +08:00
2023-09-28 04:04:32 +00:00
2023-09-25 20:42:40 +08:00
2023-09-28 10:00:26 +00:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-09-25 20:42:40 +08:00
2023-04-29 15:43:01 -04:00